Class MicrometerMetricsCaptor.MicroCounter
java.lang.Object
org.springframework.integration.support.management.micrometer.MicrometerMetricsCaptor.AbstractMeter<io.micrometer.core.instrument.Counter>
org.springframework.integration.support.management.micrometer.MicrometerMetricsCaptor.MicroCounter
- All Implemented Interfaces:
CounterFacade
,MeterFacade
- Enclosing class:
- MicrometerMetricsCaptor
protected static class MicrometerMetricsCaptor.MicroCounter
extends MicrometerMetricsCaptor.AbstractMeter<io.micrometer.core.instrument.Counter>
implements CounterFacade
-
Field Summary
Fields inherited from class org.springframework.integration.support.management.micrometer.MicrometerMetricsCaptor.AbstractMeter
meterRegistry
-
Constructor Summary
ModifierConstructorDescriptionprotected
MicroCounter
(io.micrometer.core.instrument.Counter counter, io.micrometer.core.instrument.MeterRegistry meterRegistry) -
Method Summary
Methods inherited from class org.springframework.integration.support.management.micrometer.MicrometerMetricsCaptor.AbstractMeter
remove
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.integration.support.management.metrics.MeterFacade
remove
-
Constructor Details
-
MicroCounter
protected MicroCounter(io.micrometer.core.instrument.Counter counter, io.micrometer.core.instrument.MeterRegistry meterRegistry)
-
-
Method Details
-
getMeter
protected io.micrometer.core.instrument.Counter getMeter()Description copied from class:MicrometerMetricsCaptor.AbstractMeter
Get the meter.- Specified by:
getMeter
in classMicrometerMetricsCaptor.AbstractMeter<io.micrometer.core.instrument.Counter>
- Returns:
- the meter.
-
increment
public void increment()- Specified by:
increment
in interfaceCounterFacade
-
hashCode
public int hashCode() -
equals
-