public class BatchAggregationTimeMetric extends Object
| Constructor and Description |
|---|
BatchAggregationTimeMetric() |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
harvest(Function<org.HdrHistogram.Histogram,T> consumer)
Allows consuming histogram and returning a result.
|
void |
record(long batchAggregationTimeNano)
Records a batch aggregation time.
|
public void record(long batchAggregationTimeNano)
batchAggregationTimeNano - batch aggregation timepublic <T> T harvest(Function<org.HdrHistogram.Histogram,T> consumer)
T - return type of a passed in functionconsumer - consumer for a harvested histogramCopyright © 2018. All rights reserved.