public class FixedQuantilesCallback extends QuantilesCallback
Callback.Event
ATTR_NAME_BUCKETS
Constructor and Description |
---|
FixedQuantilesCallback(BucketsType bucketsType,
long min,
long max,
int bucketNb)
Constructor with all configuration
|
FixedQuantilesCallback(long min,
long max,
int bucketNb)
Main constructor.
|
Modifier and Type | Method and Description |
---|---|
protected Buckets |
createBuckets(Stopwatch stopwatch)
Create buckets using callback attributes
|
int |
getBucketNb() |
long |
getMax() |
long |
getMin() |
createBuckets, createLogTemplate, getBuckets, getBucketsType, getOrCreateBuckets, isLogEnabled, onStopwatchAdd, onStopwatchSplit, onStopwatchStop, sampleBuckets, setLogEnabled
cleanup, initialize, onCounterDecrease, onCounterIncrease, onCounterSet, onManagerClear, onManagerMessage, onManagerWarning, onSimonCreated, onSimonDestroyed, onStopwatchStart
public FixedQuantilesCallback(long min, long max, int bucketNb)
public FixedQuantilesCallback(BucketsType bucketsType, long min, long max, int bucketNb)
bucketsType
- Linear or exponentialmin
- Minmax
- MaxbucketNb
- Number of bucketsprotected Buckets createBuckets(Stopwatch stopwatch)
createBuckets
in class QuantilesCallback
stopwatch
- Target stopwatchpublic long getMin()
public long getMax()
public int getBucketNb()
Copyright © 2019. All rights reserved.