public class HdrLatencyReservoir extends Object implements com.codahale.metrics.Reservoir
| Modifier and Type | Class and Description |
|---|---|
static class |
HdrLatencyReservoir.Builder |
| Constructor and Description |
|---|
HdrLatencyReservoir(org.LatencyUtils.LatencyStats stats,
long flushPeriod,
TimeUnit flushUnit,
int sinkSize) |
| Modifier and Type | Method and Description |
|---|---|
static HdrLatencyReservoir.Builder |
builder() |
com.codahale.metrics.Snapshot |
getSnapshot() |
int |
size() |
void |
update(long value) |
public HdrLatencyReservoir(org.LatencyUtils.LatencyStats stats,
long flushPeriod,
TimeUnit flushUnit,
int sinkSize)
public int size()
size in interface com.codahale.metrics.Reservoirpublic void update(long value)
update in interface com.codahale.metrics.Reservoirpublic com.codahale.metrics.Snapshot getSnapshot()
getSnapshot in interface com.codahale.metrics.Reservoirpublic static HdrLatencyReservoir.Builder builder()
Copyright © 2016 Innova Co. S.à r.l.. All rights reserved.