Class UntypedMetric

java.lang.Object
com.yahoo.metrics.simple.UntypedMetric

public class UntypedMetric extends Object
A gauge or a counter or... who knows? The class for storing a metric when the metric has not been declared.
Author:
Steinar Knutsen
  • Method Details

    • isCounter

      public boolean isCounter()
    • getCount

      public long getCount()
    • getLast

      public double getLast()
    • getMax

      public double getMax()
    • getMin

      public double getMin()
    • getSum

      public double getSum()
    • getHistogram

      public UntypedMetric.Histogram getHistogram()
    • toString

      public String toString()
      Overrides:
      toString in class Object