public class HdrTimer
extends com.codahale.metrics.Timer
| Constructor and Description |
|---|
HdrTimer(long highestTrackableValue,
TimeUnit unit,
int numberOfSignificantValueDigits) |
HdrTimer(long highestTrackableValue,
TimeUnit unit,
int numberOfSignificantValueDigits,
com.codahale.metrics.Reservoir reservoir) |
HdrTimer(long highestTrackableValue,
TimeUnit unit,
int numberOfSignificantValueDigits,
com.codahale.metrics.Reservoir reservoir,
com.codahale.metrics.Clock clock) |
| Modifier and Type | Method and Description |
|---|---|
long |
getCount() |
com.codahale.metrics.Snapshot |
getSnapshot() |
void |
update(long duration,
TimeUnit unit) |
public HdrTimer(long highestTrackableValue,
TimeUnit unit,
int numberOfSignificantValueDigits)
public HdrTimer(long highestTrackableValue,
TimeUnit unit,
int numberOfSignificantValueDigits,
com.codahale.metrics.Reservoir reservoir)
public HdrTimer(long highestTrackableValue,
TimeUnit unit,
int numberOfSignificantValueDigits,
com.codahale.metrics.Reservoir reservoir,
com.codahale.metrics.Clock clock)
public long getCount()
getCount in interface com.codahale.metrics.CountinggetCount in interface com.codahale.metrics.MeteredgetCount in class com.codahale.metrics.Timerpublic com.codahale.metrics.Snapshot getSnapshot()
getSnapshot in interface com.codahale.metrics.SamplinggetSnapshot in class com.codahale.metrics.Timerpublic void update(long duration,
TimeUnit unit)
update in class com.codahale.metrics.TimerCopyright © 2012-2016 Graylog, Inc.. All Rights Reserved.