Class Snapshot.PercentileValue

java.lang.Object
org.eclipse.microprofile.metrics.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 Details

    • PercentileValue

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

    • getPercentile

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

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

      public String toString()
      Overrides:
      toString in class Object