Class Snapshot.PercentileValue

  • Enclosing class:
    Snapshot

    public static class Snapshot.PercentileValue
    extends Object
    Represents a percentile and its value at the moment it was sampled from the Snapshot. See #percentileValue()
    • Constructor Detail

      • PercentileValue

        public PercentileValue​(double percentile,
                               double value)
        Parameters:
        percentile - percentile
        value - value of percentile
    • Method Detail

      • getPercentile

        public double getPercentile()
        Returns percentile
        Returns:
        double percentile
      • getValue

        public double getValue()
        Returns value at percentile
        Returns:
        double value at percentile