Class SampledStat.Sample

  • Enclosing class:
    SampledStat

    protected static class SampledStat.Sample
    extends Object
    • Field Detail

      • initialValue

        public double initialValue
      • eventCount

        public long eventCount
      • lastWindowMs

        public long lastWindowMs
      • value

        public double value
    • Constructor Detail

      • Sample

        public Sample​(double initialValue,
                      long now)
    • Method Detail

      • reset

        public void reset​(long now)
      • isComplete

        public boolean isComplete​(long timeMs,
                                  MetricConfig config)