public class Cache2kCacheMeterBinderProvider extends Object implements CacheMeterBinderProvider<org.cache2k.extra.spring.SpringCache2kCache>
CacheMeterBinderProvider
implementation for cache2k.Constructor and Description |
---|
Cache2kCacheMeterBinderProvider() |
Modifier and Type | Method and Description |
---|---|
io.micrometer.core.instrument.binder.MeterBinder |
getMeterBinder(org.cache2k.extra.spring.SpringCache2kCache cache,
Iterable<io.micrometer.core.instrument.Tag> tags)
|
public io.micrometer.core.instrument.binder.MeterBinder getMeterBinder(org.cache2k.extra.spring.SpringCache2kCache cache, Iterable<io.micrometer.core.instrument.Tag> tags)
CacheMeterBinderProvider
MeterBinder
managing the specified Cache
or null
if the specified Cache
is not supported.getMeterBinder
in interface CacheMeterBinderProvider<org.cache2k.extra.spring.SpringCache2kCache>
cache
- the cache to instrumenttags
- tags to apply to all recorded metricsMeterBinder
handling the specified Cache
or null