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()
TaskTimerpublic void start()
TaskTimerpublic java.lang.String getLabel()
TaskTimerpublic java.util.Collection<DataMeasure> getDataMeasures()
TaskTimergetDataMeasures in interface TaskTimerprotected java.lang.Long getBeginTime()
Copyright © 2015 The Admin4J Project. All Rights Reserved.