Class MicrometerMetricsCaptor.AbstractMeter<M extends io.micrometer.core.instrument.Meter>
java.lang.Object
org.springframework.integration.support.management.micrometer.MicrometerMetricsCaptor.AbstractMeter<M>
- All Implemented Interfaces:
MeterFacade
- Direct Known Subclasses:
MicrometerMetricsCaptor.MicroCounter
,MicrometerMetricsCaptor.MicroGauge
,MicrometerMetricsCaptor.MicroTimer
- Enclosing class:
- MicrometerMetricsCaptor
protected abstract static class MicrometerMetricsCaptor.AbstractMeter<M extends io.micrometer.core.instrument.Meter>
extends Object
implements MeterFacade
-
Field Summary
Modifier and TypeFieldDescriptionprotected final io.micrometer.core.instrument.MeterRegistry
-
Constructor Summary
ModifierConstructorDescriptionprotected
AbstractMeter
(io.micrometer.core.instrument.MeterRegistry meterRegistry) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract M
getMeter()
Get the meter.<T extends MeterFacade>
Tremove()
Remove this meter facade.
-
Field Details
-
meterRegistry
protected final io.micrometer.core.instrument.MeterRegistry meterRegistry
-
-
Constructor Details
-
AbstractMeter
protected AbstractMeter(io.micrometer.core.instrument.MeterRegistry meterRegistry)
-
-
Method Details
-
getMeter
Get the meter.- Returns:
- the meter.
-
remove
Description copied from interface:MeterFacade
Remove this meter facade.- Specified by:
remove
in interfaceMeterFacade
- Type Parameters:
T
- the type of meter removed.- Returns:
- the facade that was removed, or null.
-