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.Counting
getCount
in interface com.codahale.metrics.Metered
getCount
in class com.codahale.metrics.Timer
public com.codahale.metrics.Snapshot getSnapshot()
getSnapshot
in interface com.codahale.metrics.Sampling
getSnapshot
in class com.codahale.metrics.Timer
public void update(long duration, TimeUnit unit)
update
in class com.codahale.metrics.Timer
Copyright © 2012–2021 Graylog, Inc.. All rights reserved.