Class SampledStat.Sample

java.lang.Object
org.apache.kafka.common.metrics.stats.SampledStat.Sample
Enclosing class:
SampledStat

protected static class SampledStat.Sample extends Object
  • Field Details

    • initialValue

      public double initialValue
    • eventCount

      public long eventCount
    • lastWindowMs

      public long lastWindowMs
    • value

      public double value
  • Constructor Details

    • Sample

      public Sample(double initialValue, long now)
  • Method Details

    • reset

      public void reset(long now)
    • isComplete

      public boolean isComplete(long timeMs, MetricConfig config)
    • toString

      public String toString()
      Overrides:
      toString in class Object