public class StripedHistogram extends Striped<BarSplittingBiasedHistogram> implements Histogram
Histogram.Bucket| Constructor and Description |
|---|
StripedHistogram(double maxCoefficient,
double phi,
int expansionFactor,
int bucketCount,
double barEpsilon,
long window) |
StripedHistogram(double phi,
int bucketCount,
long window) |
StripedHistogram(int bucketCount,
long window) |
| Modifier and Type | Method and Description |
|---|---|
void |
event(double value,
long time) |
void |
expire(long time) |
List<Histogram.Bucket> |
getBuckets()
Returns the histograms buckets
|
double[] |
getQuantileBounds(double quantile)
Returns the bounds
[minimum, maximum) on the given quantile. |
long |
size() |
process, stream, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetMaximum, getMinimumpublic StripedHistogram(double maxCoefficient,
double phi,
int expansionFactor,
int bucketCount,
double barEpsilon,
long window)
public StripedHistogram(int bucketCount,
long window)
public StripedHistogram(double phi,
int bucketCount,
long window)
public List<Histogram.Bucket> getBuckets()
HistogramgetBuckets in interface Histogrampublic double[] getQuantileBounds(double quantile)
Histogram[minimum, maximum) on the given quantile.getQuantileBounds in interface Histogramquantile - desired quantilepublic long size()
Copyright © 2018. All rights reserved.