public class NoopFunctionTimer extends NoopMeter implements FunctionTimer
Meter.Id, Meter.Type| Modifier and Type | Field and Description |
|---|---|
static NoopFunctionTimer |
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
java.util.concurrent.TimeUnit |
baseTimeUnit() |
long |
count()
The total number of occurrences of the timed event.
|
double |
totalTime(java.util.concurrent.TimeUnit unit)
The total time of all occurrences of the timed event.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitmeasurepublic static final NoopFunctionTimer INSTANCE
public long count()
FunctionTimercount in interface FunctionTimerpublic double totalTime(java.util.concurrent.TimeUnit unit)
FunctionTimertotalTime in interface FunctionTimerpublic java.util.concurrent.TimeUnit baseTimeUnit()
baseTimeUnit in interface FunctionTimer