Package org.HdrHistogram
Class DoubleHistogramIterationValue
- java.lang.Object
-
- org.HdrHistogram.DoubleHistogramIterationValue
-
public class DoubleHistogramIterationValue extends java.lang.Object
Represents a value point iterated through in aDoubleHistogram
, with associated stats.valueIteratedTo
:
The actual value level that was iterated to by the iteratorprevValueIteratedTo
:
The actual value level that was iterated from by the iteratorcountAtValueIteratedTo
:
The count of recorded values in the histogram that exactly match this [lowestEquivalentValue(valueIteratedTo)...highestEquivalentValue(valueIteratedTo)] value range.countAddedInThisIterationStep
:
The count of recorded values in the histogram that were added to the totalCountToThisValue (below) as a result on this iteration step. Since multiple iteration steps may occur with overlapping equivalent value ranges, the count may be lower than the count found at the value (e.g. multiple linear steps or percentile levels can occur within a single equivalent value range)totalCountToThisValue
:
The total count of all recorded values in the histogram at values equal or smaller than valueIteratedTo.totalValueToThisValue
:
The sum of all recorded values in the histogram at values equal or smaller than valueIteratedTo.percentile
:
The percentile of recorded values in the histogram at values equal or smaller than valueIteratedTo.percentileLevelIteratedTo
:
The percentile level that the iterator returning this HistogramIterationValue had iterated to. Generally, percentileLevelIteratedTo will be equal to or smaller than percentile, but the same value point can contain multiple iteration levels for some iterators. E.g. a PercentileIterator can stop multiple times in the exact same value point (if the count at that value covers a range of multiple percentiles in the requested percentile iteration points).
-
-
Field Summary
Fields Modifier and Type Field Description private HistogramIterationValue
integerHistogramIterationValue
-
Constructor Summary
Constructors Constructor Description DoubleHistogramIterationValue(HistogramIterationValue integerHistogramIterationValue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getCountAddedInThisIterationStep()
long
getCountAtValueIteratedTo()
HistogramIterationValue
getIntegerHistogramIterationValue()
double
getPercentile()
double
getPercentileLevelIteratedTo()
long
getTotalCountToThisValue()
double
getTotalValueToThisValue()
double
getValueIteratedFrom()
double
getValueIteratedTo()
(package private) void
reset()
java.lang.String
toString()
-
-
-
Field Detail
-
integerHistogramIterationValue
private final HistogramIterationValue integerHistogramIterationValue
-
-
Constructor Detail
-
DoubleHistogramIterationValue
DoubleHistogramIterationValue(HistogramIterationValue integerHistogramIterationValue)
-
-
Method Detail
-
reset
void reset()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getValueIteratedTo
public double getValueIteratedTo()
-
getValueIteratedFrom
public double getValueIteratedFrom()
-
getCountAtValueIteratedTo
public long getCountAtValueIteratedTo()
-
getCountAddedInThisIterationStep
public long getCountAddedInThisIterationStep()
-
getTotalCountToThisValue
public long getTotalCountToThisValue()
-
getTotalValueToThisValue
public double getTotalValueToThisValue()
-
getPercentile
public double getPercentile()
-
getPercentileLevelIteratedTo
public double getPercentileLevelIteratedTo()
-
getIntegerHistogramIterationValue
public HistogramIterationValue getIntegerHistogramIterationValue()
-
-