Class CounterMetric

  • All Implemented Interfaces:
    Metric

    public class CounterMetric
    extends java.lang.Object
    implements Metric
    • Constructor Summary

      Constructors 
      Constructor Description
      CounterMetric()  
    • Method Summary

      Modifier and Type Method Description
      long count()  
      void dec()  
      void dec​(long n)  
      void inc()  
      void inc​(long n)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CounterMetric

        public CounterMetric()
    • Method Detail

      • inc

        public void inc()
      • inc

        public void inc​(long n)
      • dec

        public void dec()
      • dec

        public void dec​(long n)
      • count

        public long count()