Class RemoteInfinispanCacheMeterBinderProvider

  • All Implemented Interfaces:
    org.springframework.boot.actuate.metrics.cache.CacheMeterBinderProvider<org.springframework.cache.Cache>

    @Component
    @Qualifier("remoteInfinispanCacheMeterBinderProvider")
    @ConditionalOnClass(name="org.springframework.boot.actuate.metrics.cache.CacheMeterBinderProvider")
    @ConditionalOnProperty(value="infinispan.remote.enabled",
                           havingValue="true",
                           matchIfMissing=true)
    public class RemoteInfinispanCacheMeterBinderProvider
    extends Object
    implements org.springframework.boot.actuate.metrics.cache.CacheMeterBinderProvider<org.springframework.cache.Cache>
    When actuate dependency is found in the classpath, this component links Infinispan cache metrics with Actuator
    Since:
    2.1
    Author:
    Katia Aresti, karesti@redhat.com
    • Constructor Detail

      • RemoteInfinispanCacheMeterBinderProvider

        public RemoteInfinispanCacheMeterBinderProvider()
    • Method Detail

      • getMeterBinder

        public io.micrometer.core.instrument.binder.MeterBinder getMeterBinder​(org.springframework.cache.Cache cache,
                                                                               Iterable<io.micrometer.core.instrument.Tag> tags)
        Specified by:
        getMeterBinder in interface org.springframework.boot.actuate.metrics.cache.CacheMeterBinderProvider<org.springframework.cache.Cache>