org.javasimon.callback.quantiles
Class BucketsSample

java.lang.Object
  extended by org.javasimon.callback.quantiles.BucketsSample

public class BucketsSample
extends Object

Snapshot of Buckets

Author:
gquintana

Field Summary
private  BucketSample[] buckets
           
private  Double median
          Median (50% percentile)
private  Double percentile90
          90% percentile
 
Constructor Summary
BucketsSample(BucketSample[] buckets, Double median, Double quantile90)
           
 
Method Summary
 BucketSample[] getBuckets()
           
 Integer getMaxCount()
           
 Double getMedian()
           
 Double getPercentile90()
           
 Integer getTotalCount()
           
private  boolean hasNoBuckets()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

buckets

private final BucketSample[] buckets

median

private final Double median
Median (50% percentile)


percentile90

private final Double percentile90
90% percentile

Constructor Detail

BucketsSample

public BucketsSample(BucketSample[] buckets,
                     Double median,
                     Double quantile90)
Method Detail

getBuckets

public BucketSample[] getBuckets()

getMedian

public Double getMedian()

getPercentile90

public Double getPercentile90()

hasNoBuckets

private boolean hasNoBuckets()

getMaxCount

public Integer getMaxCount()

getTotalCount

public Integer getTotalCount()


Copyright © 2013. All Rights Reserved.