public abstract class TimeWindowReservoirBuilder<T extends com.codahale.metrics.Reservoir> extends Object
| Modifier and Type | Field and Description |
|---|---|
protected long |
flushPeriod |
protected TimeUnit |
flushUnit |
protected long |
window |
protected TimeUnit |
windowUnit |
| Constructor and Description |
|---|
TimeWindowReservoirBuilder() |
| Modifier and Type | Method and Description |
|---|---|
abstract T |
build() |
TimeWindowReservoirBuilder<T> |
flushEvery(long flushPeriod,
TimeUnit flushUnit) |
TimeWindowReservoirBuilder<T> |
window(long window,
TimeUnit windowUnit) |
protected long flushPeriod
protected TimeUnit flushUnit
protected long window
protected TimeUnit windowUnit
public TimeWindowReservoirBuilder<T> flushEvery(long flushPeriod, TimeUnit flushUnit)
public TimeWindowReservoirBuilder<T> window(long window, TimeUnit windowUnit)
public abstract T build()
Copyright © 2016 Innova Co. S.à r.l.. All rights reserved.