Class MicrometerMetricsCaptor.MicroTimer
java.lang.Object
org.springframework.integration.support.management.micrometer.MicrometerMetricsCaptor.AbstractMeter<io.micrometer.core.instrument.Timer>
org.springframework.integration.support.management.micrometer.MicrometerMetricsCaptor.MicroTimer
- All Implemented Interfaces:
MeterFacade
,TimerFacade
- Enclosing class:
- MicrometerMetricsCaptor
protected static class MicrometerMetricsCaptor.MicroTimer
extends MicrometerMetricsCaptor.AbstractMeter<io.micrometer.core.instrument.Timer>
implements TimerFacade
-
Field Summary
Fields inherited from class org.springframework.integration.support.management.micrometer.MicrometerMetricsCaptor.AbstractMeter
meterRegistry
-
Constructor Summary
ModifierConstructorDescriptionprotected
MicroTimer
(io.micrometer.core.instrument.Timer timer, 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
-
MicroTimer
protected MicroTimer(io.micrometer.core.instrument.Timer timer, io.micrometer.core.instrument.MeterRegistry meterRegistry)
-
-
Method Details
-
getMeter
protected io.micrometer.core.instrument.Timer getMeter()Description copied from class:MicrometerMetricsCaptor.AbstractMeter
Get the meter.- Specified by:
getMeter
in classMicrometerMetricsCaptor.AbstractMeter<io.micrometer.core.instrument.Timer>
- Returns:
- the meter.
-
record
- Specified by:
record
in interfaceTimerFacade
-
hashCode
public int hashCode() -
equals
-