Class HazelcastCacheMeterBinderProvider
java.lang.Object
org.springframework.boot.actuate.metrics.cache.HazelcastCacheMeterBinderProvider
- All Implemented Interfaces:
CacheMeterBinderProvider<com.hazelcast.spring.cache.HazelcastCache>
public class HazelcastCacheMeterBinderProvider
extends Object
implements CacheMeterBinderProvider<com.hazelcast.spring.cache.HazelcastCache>
CacheMeterBinderProvider
implementation for Hazelcast.- Since:
- 2.0.0
- Author:
- Stephane Nicoll
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionio.micrometer.core.instrument.binder.MeterBinder
getMeterBinder
(com.hazelcast.spring.cache.HazelcastCache cache, Iterable<io.micrometer.core.instrument.Tag> tags)
-
Constructor Details
-
HazelcastCacheMeterBinderProvider
public HazelcastCacheMeterBinderProvider()
-
-
Method Details
-
getMeterBinder
public io.micrometer.core.instrument.binder.MeterBinder getMeterBinder(com.hazelcast.spring.cache.HazelcastCache cache, Iterable<io.micrometer.core.instrument.Tag> tags) Description copied from interface:CacheMeterBinderProvider
Return theMeterBinder
managing the specifiedCache
ornull
if the specifiedCache
is not supported.- Specified by:
getMeterBinder
in interfaceCacheMeterBinderProvider<com.hazelcast.spring.cache.HazelcastCache>
- Parameters:
cache
- the cache to instrumenttags
- tags to apply to all recorded metrics- Returns:
- a
MeterBinder
handling the specifiedCache
ornull
-