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() |
double |
totalTime(java.util.concurrent.TimeUnit unit)
The total time of all occurrences of the timed event.
|
getId
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
builder, mean, measure
public NoopFunctionTimer(Meter.Id id)
public double count()
count
in interface FunctionTimer
public double totalTime(java.util.concurrent.TimeUnit unit)
FunctionTimer
totalTime
in interface FunctionTimer
unit
- The base unit of time to scale the total to.public java.util.concurrent.TimeUnit baseTimeUnit()
baseTimeUnit
in interface FunctionTimer