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

    Fields
    Modifier and Type
    Field
    Description
    protected final io.micrometer.core.instrument.MeterRegistry
     
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    AbstractMeter(io.micrometer.core.instrument.MeterRegistry meterRegistry)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected abstract M
    Get the meter.
    <T extends MeterFacade>
    T
    Remove this meter facade.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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

      protected abstract M getMeter()
      Get the meter.
      Returns:
      the meter.
    • remove

      public <T extends MeterFacade> T remove()
      Description copied from interface: MeterFacade
      Remove this meter facade.
      Specified by:
      remove in interface MeterFacade
      Type Parameters:
      T - the type of meter removed.
      Returns:
      the facade that was removed, or null.