public class SlidingExponentialDecayingReservoir extends Object implements com.codahale.metrics.Reservoir
| Modifier and Type | Class and Description |
|---|---|
static class |
SlidingExponentialDecayingReservoir.Builder |
| Constructor and Description |
|---|
SlidingExponentialDecayingReservoir(long flushPeriod,
TimeUnit flushUnit,
int sinkSize) |
| Modifier and Type | Method and Description |
|---|---|
static SlidingExponentialDecayingReservoir.Builder |
builder() |
com.codahale.metrics.Snapshot |
getSnapshot() |
int |
size() |
void |
update(long value) |
public SlidingExponentialDecayingReservoir(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 SlidingExponentialDecayingReservoir.Builder builder()
Copyright © 2016 Innova Co. S.à r.l.. All rights reserved.