org.springframework.boot.actuate.metrics.cache

Class EhCache2CacheMeterBinderProvider

  • java.lang.Object
    • org.springframework.boot.actuate.metrics.cache.EhCache2CacheMeterBinderProvider
    • Constructor Detail

      • EhCache2CacheMeterBinderProvider

        public EhCache2CacheMeterBinderProvider()
    • Method Detail

      • getMeterBinder

        public io.micrometer.core.instrument.binder.MeterBinder getMeterBinder(EhCacheCache cache,
                                                                               Iterable<io.micrometer.core.instrument.Tag> tags)
        Description copied from interface: CacheMeterBinderProvider
        Return the MeterBinder managing the specified Cache or null if the specified Cache is not supported.
        Specified by:
        getMeterBinder in interface CacheMeterBinderProvider<EhCacheCache>
        Parameters:
        cache - the cache to instrument
        tags - tags to apply to all recorded metrics
        Returns:
        a MeterBinder handling the specified Cache or null