Class DropwizardCounter

java.lang.Object
io.micrometer.core.instrument.AbstractMeter
io.micrometer.core.instrument.dropwizard.DropwizardCounter
All Implemented Interfaces:
Counter, Meter

public class DropwizardCounter extends AbstractMeter implements Counter
  • Method Details

    • increment

      public void increment(double amount)
      Description copied from interface: Counter
      Update the counter by amount.
      Specified by:
      increment in interface Counter
      Parameters:
      amount - Amount to add to the counter.
    • count

      public double count()
      Specified by:
      count in interface Counter
      Returns:
      The cumulative count since this counter was created.