Class HistogramStatistic.HistogramSnapshot
java.lang.Object
com.arpnetworking.tsdcore.statistics.HistogramStatistic.HistogramSnapshot
- Enclosing class:
- HistogramStatistic
Represents a snapshot of immutable histogram data.
- Author:
- Brandon Arp (brandon dot arp at inscopemetrics dot com)
-
Method Summary
Modifier and TypeMethodDescriptionlong
int
getValueAtPercentile
(double percentile) Gets the value of the bucket that corresponds to the percentile.it.unimi.dsi.fastutil.objects.ObjectSortedSet<it.unimi.dsi.fastutil.doubles.Double2LongMap.Entry>
-
Method Details
-
getValueAtPercentile
Gets the value of the bucket that corresponds to the percentile.- Parameters:
percentile
- the percentile- Returns:
- The value of the bucket at the percentile.
-
getPrecision
public int getPrecision() -
getEntriesCount
public long getEntriesCount() -
getValues
public it.unimi.dsi.fastutil.objects.ObjectSortedSet<it.unimi.dsi.fastutil.doubles.Double2LongMap.Entry> getValues()
-