| Constructor and Description |
|---|
RollingMetrics(Allocator<T> allocator,
CircularBuffer<T> buffer,
Clock clock) |
| Modifier and Type | Method and Description |
|---|---|
T |
current() |
T |
current(long nanoTime) |
IntervalIterator<T> |
intervals() |
IntervalIterator<T> |
intervals(long nanoTime) |
IntervalIterator<T> |
intervalsWithDefault(long nanoTime,
T default0) |
IntervalIterator<T> |
intervalsWithDefault(T default0) |
public RollingMetrics(Allocator<T> allocator, CircularBuffer<T> buffer, Clock clock)
public IntervalIterator<T> intervals()
public IntervalIterator<T> intervals(long nanoTime)
public IntervalIterator<T> intervalsWithDefault(T default0)
public IntervalIterator<T> intervalsWithDefault(long nanoTime, T default0)
Copyright © 2014 Tim Brooks. All Rights Reserved.