|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.HdrHistogram.HistogramData
@Deprecated public class HistogramData
The HistogramData class has been deprecated with HdrHistogram version 1.2. Use direct calls to equivalent methods in @link AbstractHistogram} and it's derived classes instead. Provides iteration capabilities for a histogram's data set, as well as access to common statistics information.
| Nested Class Summary | |
|---|---|
class |
HistogramData.AllValues
Deprecated. An Iterable<HistogramIterationValue> through the
histogram using a AllValuesIterator |
class |
HistogramData.LinearBucketValues
Deprecated. An Iterable<HistogramIterationValue> through the
histogram using a LinearIterator |
class |
HistogramData.LogarithmicBucketValues
Deprecated. An Iterable<HistogramIterationValue> through the
histogram using a LogarithmicIterator |
class |
HistogramData.Percentiles
Deprecated. An Iterable<HistogramIterationValue> through the
histogram using a PercentileIterator |
class |
HistogramData.RecordedValues
Deprecated. An Iterable<HistogramIterationValue> through the
histogram using a RecordedValuesIterator |
| Method Summary | |
|---|---|
HistogramData.AllValues |
allValues()
Deprecated. Provide a means of iterating through all histogram values using the finest granularity steps supported by the underlying representation. |
long |
getCountAtValue(long value)
Deprecated. Get the count of recorded values at a specific value |
long |
getCountBetweenValues(long lowValue,
long highValue)
Deprecated. Get the count of recorded values within a range of value levels. |
long |
getMaxValue()
Deprecated. Get the highest recorded value level in the histogram |
double |
getMean()
Deprecated. Get the computed mean value of all recorded values in the histogram |
long |
getMinValue()
Deprecated. Get the lowest recorded value level in the histogram |
double |
getPercentileAtOrBelowValue(long value)
Deprecated. Get the percentile at a given value |
double |
getStdDeviation()
Deprecated. Get the computed standard deviation of all recorded values in the histogram |
long |
getTotalCount()
Deprecated. The the total count of recorded values in the histogram data |
long |
getValueAtPercentile(double percentile)
Deprecated. Get the value at a given percentile |
HistogramData.LinearBucketValues |
linearBucketValues(int valueUnitsPerBucket)
Deprecated. Provide a means of iterating through histogram values using linear steps. |
HistogramData.LogarithmicBucketValues |
logarithmicBucketValues(int valueUnitsInFirstBucket,
double logBase)
Deprecated. Provide a means of iterating through histogram values at logarithmically increasing levels. |
void |
outputPercentileDistribution(PrintStream printStream,
Double outputValueUnitScalingRatio)
Deprecated. Produce textual representation of the value distribution of histogram data by percentile. |
void |
outputPercentileDistribution(PrintStream printStream,
int percentileTicksPerHalfDistance,
Double outputValueUnitScalingRatio)
Deprecated. Produce textual representation of the value distribution of histogram data by percentile. |
void |
outputPercentileDistribution(PrintStream printStream,
int percentileTicksPerHalfDistance,
Double outputValueUnitScalingRatio,
boolean useCsvFormat)
Deprecated. Produce textual representation of the value distribution of histogram data by percentile. |
HistogramData.Percentiles |
percentiles(int percentileTicksPerHalfDistance)
Deprecated. Provide a means of iterating through histogram values according to percentile levels. |
HistogramData.RecordedValues |
recordedValues()
Deprecated. Provide a means of iterating through all recorded histogram values using the finest granularity steps supported by the underlying representation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public long getTotalCount()
public long getMinValue()
public long getMaxValue()
public double getMean()
public double getStdDeviation()
public long getValueAtPercentile(double percentile)
percentile - The percentile for which the return the associated value
public double getPercentileAtOrBelowValue(long value)
value - The value for which the return the associated percentile
public long getCountBetweenValues(long lowValue,
long highValue)
throws ArrayIndexOutOfBoundsException
lowValue - The lower value bound on the range for which
to provide the recorded count. Will be rounded down with
lowestEquivalentValue.highValue - The higher value bound on the range for which to provide the recorded count.
Will be rounded up with highestEquivalentValue.
ArrayIndexOutOfBoundsException - on values that are outside the tracked value range
public long getCountAtValue(long value)
throws ArrayIndexOutOfBoundsException
value - The value for which to provide the recorded count
ArrayIndexOutOfBoundsException - on values that are outside the tracked value range
public void outputPercentileDistribution(PrintStream printStream,
Double outputValueUnitScalingRatio)
printStream - Stream into which the distribution will be output
outputValueUnitScalingRatio - The scaling factor by which to divide histogram recorded values units in
output
public void outputPercentileDistribution(PrintStream printStream,
int percentileTicksPerHalfDistance,
Double outputValueUnitScalingRatio)
printStream - Stream into which the distribution will be output
percentileTicksPerHalfDistance - The number of reporting points per exponentially decreasing half-distance
outputValueUnitScalingRatio - The scaling factor by which to divide histogram recorded values units in
output
public void outputPercentileDistribution(PrintStream printStream,
int percentileTicksPerHalfDistance,
Double outputValueUnitScalingRatio,
boolean useCsvFormat)
printStream - Stream into which the distribution will be output
percentileTicksPerHalfDistance - The number of reporting points per exponentially decreasing half-distance
outputValueUnitScalingRatio - The scaling factor by which to divide histogram recorded values units in
outputuseCsvFormat - Output in CSV format if true. Otherwise use plain text form.public HistogramData.Percentiles percentiles(int percentileTicksPerHalfDistance)
percentileTicksPerHalfDistance - The number of iteration steps per half-distance to 100%.
Iterable<HistogramIterationValue> through the
histogram using a PercentileIteratorpublic HistogramData.LinearBucketValues linearBucketValues(int valueUnitsPerBucket)
valueUnitsPerBucket - The size (in value units) of the linear buckets to use
Iterable<HistogramIterationValue> through the
histogram using a LinearIterator
public HistogramData.LogarithmicBucketValues logarithmicBucketValues(int valueUnitsInFirstBucket,
double logBase)
valueUnitsInFirstBucket - The size (in value units) of the first bucket in the iterationlogBase - The multiplier by which bucket sizes will grow in eahc iteration step
Iterable<HistogramIterationValue> through the
histogram using a LogarithmicIteratorpublic HistogramData.RecordedValues recordedValues()
Iterable<HistogramIterationValue> through the
histogram using a RecordedValuesIteratorpublic HistogramData.AllValues allValues()
Iterable<HistogramIterationValue> through the
histogram using a RecordedValuesIterator
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||