public class NoopFunctionTimer extends NoopMeter implements FunctionTimer
FunctionTimer.Builder<T>Meter.Id, Meter.Type| Constructor and Description |
|---|
NoopFunctionTimer(Meter.Id id) |
| Modifier and Type | Method and Description |
|---|---|
java.util.concurrent.TimeUnit |
baseTimeUnit() |
double |
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.
|
getIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbuilder, mean, measurepublic NoopFunctionTimer(Meter.Id id)
public double 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