public class BasicTaskTimer extends java.lang.Object implements TaskTimer
Constructor and Description |
---|
BasicTaskTimer(java.lang.String label,
java.util.Collection<DataMeasure> dataMeasures) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Long |
getBeginTime() |
java.util.Collection<DataMeasure> |
getDataMeasures()
Provides data measures from all timers that have complete timings.
|
java.lang.String |
getLabel()
Provides a label for the timer.
|
void |
start()
Starts the timer.
|
void |
stop()
Stops the timer.
|
public BasicTaskTimer(java.lang.String label, java.util.Collection<DataMeasure> dataMeasures)
public void stop()
TaskTimer
public void start()
TaskTimer
public java.lang.String getLabel()
TaskTimer
public java.util.Collection<DataMeasure> getDataMeasures()
TaskTimer
getDataMeasures
in interface TaskTimer
protected java.lang.Long getBeginTime()
Copyright © 2015 The Admin4J Project. All Rights Reserved.