| Constructor and Description |
|---|
DoNothingTimer() |
| Modifier and Type | Method and Description |
|---|---|
Rate |
getImmutableRate()
It's not safe to use the update interface.
|
HistogramSnapshot |
takeSnapshot()
take snapshot of timer
|
void |
update(long duration,
TimeUnit unit)
update time of timer
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitupdateMicros, updateMillis, updateNanospublic void update(long duration,
TimeUnit unit)
Timerpublic HistogramSnapshot takeSnapshot()
TimertakeSnapshot in interface Timerpublic Rate getImmutableRate()
TimergetImmutableRate in interface TimerCopyright © 2022 The Apache Software Foundation. All rights reserved.