Class AbstractMeter

java.lang.Object
io.micrometer.core.instrument.AbstractMeter
All Implemented Interfaces:
Meter
Direct Known Subclasses:
AbstractDistributionSummary, AbstractTimer, CompositeFunctionCounter, CumulativeCounter, CumulativeFunctionCounter, CumulativeFunctionTimer, DefaultGauge, DefaultLongTaskTimer, DefaultMeter, DropwizardCounter, DropwizardFunctionCounter, DropwizardFunctionTimer, DropwizardGauge, NoopMeter, StepCounter, StepFunctionCounter

public abstract class AbstractMeter extends Object implements Meter
Base class for Meter implementations.
  • Constructor Details

    • AbstractMeter

      public AbstractMeter(Meter.Id id)
  • Method Details

    • getId

      public Meter.Id getId()
      Specified by:
      getId in interface Meter
      Returns:
      A unique combination of name and tags
    • equals

      public boolean equals(@Nullable Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object