|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Buckets | |
|---|---|
| org.javasimon.callback.quantiles | QuantilesCallback sorts splits to categories
(Buckets) based on time ranges. |
| Uses of Buckets in org.javasimon.callback.quantiles |
|---|
| Subclasses of Buckets in org.javasimon.callback.quantiles | |
|---|---|
class |
ExponentialBuckets
Exponentially organized Buckets. |
class |
LinearBuckets
Linearly organized Buckets
For 100-600 range and 5 bucket count, the following buckets are created:
Index
MinMax
Samples
Counter
0
-∞100
53
# (1)
1
100200
128,136
## (2)
2
200300
245,231,264,287,275
###### (5)
3
300400
356,341
## (2)
4
400500
461
# (1)
5
500600
801
# (1)
6
600+∞
(0)
For a total of 12 splits in this example, we can deduce that
Median (6th sample) is in bucket #2
Third quartile (9th sample) is in bucket #3
90% percentile (10,8th sample) is in bucket #4 or #5 (but assume #4). |
| Methods in org.javasimon.callback.quantiles that return Buckets | |
|---|---|
protected abstract Buckets |
QuantilesCallback.createBuckets(Stopwatch stopwatch)
Create Buckets for given stopwatch. |
protected Buckets |
PropertiesQuantilesCallback.createBuckets(Stopwatch stopwatch)
Create buckets using callback attributes |
protected Buckets |
FixedQuantilesCallback.createBuckets(Stopwatch stopwatch)
Create buckets using callback attributes |
protected Buckets |
AutoQuantilesCallback.createBuckets(Stopwatch stopwatch)
When warmup ends, buckets are create and retained splits are sorted in the buckets. |
protected Buckets |
QuantilesCallback.createBuckets(Stopwatch stopwatch,
long min,
long max,
int bucketNb)
Factory method to create a Buckets object using given configuration |
abstract Buckets |
BucketsType.createBuckets(Stopwatch stopwatch,
long min,
long max,
int bucketNb)
Factory method to create a Buckets |
protected Buckets |
AutoQuantilesCallback.createBucketsAfterWarmup(Stopwatch stopwatch)
Create the buckets after warmup time. |
static Buckets |
QuantilesCallback.getBuckets(Stopwatch stopwatch)
Get the buckets attribute. |
protected Buckets |
QuantilesCallback.getOrCreateBuckets(Stopwatch stopwatch)
Get the buckets attribute or create it if it does not exist. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||