Interface CacheMeterBinderProvider<C extends org.springframework.cache.Cache>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and TypeMethodDescription
      io.micrometer.core.instrument.binder.MeterBindergetMeterBinder​(C cache, Iterable<io.micrometer.core.instrument.Tag> tags)
      Return the MeterBinder managing the specified Cache or null if the specified Cache is not supported.
    • Method Detail

      • getMeterBinder

        io.micrometer.core.instrument.binder.MeterBinder getMeterBinder​(C cache,
                                                                        Iterable<io.micrometer.core.instrument.Tag> tags)
        Return the MeterBinder managing the specified Cache or null if the specified Cache is not supported.
        Parameters:
        cache - the cache to instrument
        tags - tags to apply to all recorded metrics
        Returns:
        a MeterBinder handling the specified Cache or null