Class HazelcastCacheMeterBinderProvider
java.lang.Object
org.springframework.boot.cache.metrics.HazelcastCacheMeterBinderProvider
- All Implemented Interfaces:
CacheMeterBinderProvider<HazelcastCache>
public class HazelcastCacheMeterBinderProvider
extends Object
implements CacheMeterBinderProvider<HazelcastCache>
CacheMeterBinderProvider implementation for Hazelcast.- Since:
- 4.0.0
- Author:
- Stephane Nicoll
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetMeterBinder(HazelcastCache cache, Iterable<Tag> tags) Return theMeterBindermanaging the specifiedCacheornullif the specifiedCacheis not supported.
-
Constructor Details
-
HazelcastCacheMeterBinderProvider
public HazelcastCacheMeterBinderProvider()
-
-
Method Details
-
getMeterBinder
Description copied from interface:CacheMeterBinderProviderReturn theMeterBindermanaging the specifiedCacheornullif the specifiedCacheis not supported.- Specified by:
getMeterBinderin interfaceCacheMeterBinderProvider<HazelcastCache>- Parameters:
cache- the cache to instrumenttags- tags to apply to all recorded metrics- Returns:
- a
MeterBinderhandling the specifiedCacheornull
-