Class NoopHistogram

java.lang.Object
org.apache.calcite.avatica.metrics.noop.NoopHistogram
All Implemented Interfaces:
Histogram, Metric

public class NoopHistogram extends Object implements Histogram
Histogram which does nothing.
  • Constructor Details

    • NoopHistogram

      public NoopHistogram()
  • Method Details

    • update

      public void update(int value)
      Description copied from interface: Histogram
      Adds a new value to the distribution.
      Specified by:
      update in interface Histogram
      Parameters:
      value - The value to add
    • update

      public void update(long value)
      Description copied from interface: Histogram
      Adds a new value to the distribution.
      Specified by:
      update in interface Histogram
      Parameters:
      value - The value to add