public class FixedQuantilesCallback extends QuantilesCallback
Callback.EventATTR_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, setLogEnabledcleanup, initialize, onCounterDecrease, onCounterIncrease, onCounterSet, onManagerClear, onManagerMessage, onManagerWarning, onSimonCreated, onSimonDestroyed, onStopwatchStartpublic 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 QuantilesCallbackstopwatch - Target stopwatchpublic long getMin()
public long getMax()
public int getBucketNb()
Copyright © 2019. All rights reserved.