Class CompositeFunctionCounter<T>
java.lang.Object
io.micrometer.core.instrument.AbstractMeter
io.micrometer.core.instrument.composite.CompositeFunctionCounter<T>
- All Implemented Interfaces:
FunctionCounter, Meter
-
Nested Class Summary
Nested classes/interfaces inherited from interface FunctionCounter
FunctionCounter.Builder<T>Nested classes/interfaces inherited from interface Meter
Meter.Builder, Meter.Id, Meter.MeterProvider<T>, Meter.Type -
Method Summary
Modifier and TypeMethodDescriptionfinal voidadd(MeterRegistry registry) doublecount()final voidremove(MeterRegistry registry) Deprecated.Methods inherited from class AbstractMeter
equals, getId, hashCodeMethods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface FunctionCounter
measure
-
Method Details
-
count
public double count()- Specified by:
countin interfaceFunctionCounter- Returns:
- The cumulative count since this counter was created.
-
add
-
remove
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.
-