public class DisabledTimer extends com.codahale.metrics.Timer implements DisabledMetric
| Constructor and Description |
|---|
DisabledTimer()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getCount() |
double |
getFifteenMinuteRate() |
double |
getFiveMinuteRate() |
double |
getMeanRate() |
double |
getOneMinuteRate() |
com.codahale.metrics.Snapshot |
getSnapshot() |
com.codahale.metrics.Timer.Context |
time() |
<T> T |
time(Callable<T> event) |
void |
update(long duration,
TimeUnit unit) |
public void update(long duration,
TimeUnit unit)
update in class com.codahale.metrics.Timerpublic <T> T time(Callable<T> event) throws Exception
time in class com.codahale.metrics.TimerExceptionpublic com.codahale.metrics.Timer.Context time()
time in class com.codahale.metrics.Timerpublic long getCount()
getCount in interface com.codahale.metrics.CountinggetCount in interface com.codahale.metrics.MeteredgetCount in class com.codahale.metrics.Timerpublic double getFifteenMinuteRate()
getFifteenMinuteRate in interface com.codahale.metrics.MeteredgetFifteenMinuteRate in class com.codahale.metrics.Timerpublic double getFiveMinuteRate()
getFiveMinuteRate in interface com.codahale.metrics.MeteredgetFiveMinuteRate in class com.codahale.metrics.Timerpublic double getMeanRate()
getMeanRate in interface com.codahale.metrics.MeteredgetMeanRate in class com.codahale.metrics.Timerpublic double getOneMinuteRate()
getOneMinuteRate in interface com.codahale.metrics.MeteredgetOneMinuteRate in class com.codahale.metrics.Timerpublic com.codahale.metrics.Snapshot getSnapshot()
getSnapshot in interface com.codahale.metrics.SamplinggetSnapshot in class com.codahale.metrics.TimerCopyright © 1999–2019 Shibboleth Consortium. All rights reserved.