Class DropwizardCounter

  • All Implemented Interfaces:
    org.apache.iotdb.metrics.type.Counter, org.apache.iotdb.metrics.type.IMetric

    public class DropwizardCounter
    extends java.lang.Object
    implements org.apache.iotdb.metrics.type.Counter
    • Constructor Summary

      Constructors 
      Constructor Description
      DropwizardCounter​(com.codahale.metrics.Counter counter)  
    • Method Summary

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

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.apache.iotdb.metrics.type.IMetric

        toString
    • Constructor Detail

      • DropwizardCounter

        public DropwizardCounter​(com.codahale.metrics.Counter counter)
    • Method Detail

      • inc

        public void inc()
        Specified by:
        inc in interface org.apache.iotdb.metrics.type.Counter
      • inc

        public void inc​(long n)
        Specified by:
        inc in interface org.apache.iotdb.metrics.type.Counter
      • count

        public long count()
        Specified by:
        count in interface org.apache.iotdb.metrics.type.Counter