de.cesr.more.util
Class MRuntimeDbWriter
java.lang.Object
de.cesr.more.util.MRuntimeDbWriter
public class MRuntimeDbWriter
- extends Object
MORe
Stores runtime information and writes these to the DB defined in params in MSqlPa
when requested. This helps
to avoid disturbances of runtime measurement during DB writing.
- Date:
- 11.02.2014
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WRITE_RUN_ID
public static final boolean WRITE_RUN_ID
- See Also:
- Constant Field Values
WRITE_VERSION_ID
public static final boolean WRITE_VERSION_ID
- See Also:
- Constant Field Values
START
public static final String START
- See Also:
- Constant Field Values
measurements
protected org.apache.commons.collections15.map.LinkedMap<String,Long> measurements
prov
protected MoreRunIdProvider prov
MRuntimeDbWriter
public MRuntimeDbWriter(MoreRunIdProvider prov)
start
public void start()
addMeasurement
public void addMeasurement(String action)
stopAndStore
public void stopAndStore()