Class CompositeFunctionCounter<T>

java.lang.Object
io.micrometer.core.instrument.AbstractMeter
io.micrometer.core.instrument.composite.CompositeFunctionCounter<T>
All Implemented Interfaces:
FunctionCounter, Meter

public class CompositeFunctionCounter<T> extends AbstractMeter implements FunctionCounter
  • Method Details

    • count

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

      public final void add(MeterRegistry registry)
    • remove

      @Deprecated public final void remove(MeterRegistry registry)
      Deprecated.
      Does nothing. New registries added to the composite are automatically reflected in each meter belonging to the composite.
      Parameters:
      registry - The registry to remove.