Class Snapshot.PercentileValue

  • Enclosing class:
    Snapshot

    public static class Snapshot.PercentileValue
    extends java.lang.Object
    Represents a percentile and its value at the moment it was sampled from the Snapshot. See Snapshot.percentileValues()
    • Constructor Summary

      Constructors 
      Constructor Description
      PercentileValue​(double percentile, double value)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      double getPercentile()
      Returns percentile
      double getValue()
      Returns value at percentile
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • 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
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object