public class JCacheCacheMeterBinderProvider extends Object implements CacheMeterBinderProvider<JCacheCache>
CacheMeterBinderProvider
implementation for JCache.Constructor and Description |
---|
JCacheCacheMeterBinderProvider() |
Modifier and Type | Method and Description |
---|---|
io.micrometer.core.instrument.binder.MeterBinder |
getMeterBinder(JCacheCache cache,
Iterable<io.micrometer.core.instrument.Tag> tags)
|
public io.micrometer.core.instrument.binder.MeterBinder getMeterBinder(JCacheCache 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<JCacheCache>
cache
- the cache to instrumenttags
- tags to apply to all recorded metricsMeterBinder
handling the specified Cache
or null