java.lang.Object
com.orientechnologies.agent.profiler.metrics.dropwizard.DropWizardBase
com.orientechnologies.agent.profiler.metrics.dropwizard.DropWizardGeneric<com.codahale.metrics.Counter>
com.orientechnologies.agent.profiler.metrics.dropwizard.DropWizardCounter
All Implemented Interfaces:
OCounter, OMetric

public class DropWizardCounter extends DropWizardGeneric<com.codahale.metrics.Counter> implements OCounter
Created by Enrico Risa on 11/07/2018.
  • Constructor Details

    • DropWizardCounter

      public DropWizardCounter(com.codahale.metrics.Counter counter, String name, String description)
  • Method Details

    • inc

      public void inc()
      Specified by:
      inc in interface OCounter
    • inc

      public void inc(long n)
      Specified by:
      inc in interface OCounter
    • dec

      public void dec()
      Specified by:
      dec in interface OCounter
    • dec

      public void dec(long n)
      Specified by:
      dec in interface OCounter
    • getCount

      public long getCount()
      Specified by:
      getCount in interface OCounter