public class JCacheCacheMeterBinderProvider extends Object implements CacheMeterBinderProvider<org.springframework.cache.jcache.JCacheCache>
CacheMeterBinderProvider
implementation for JCache.Constructor and Description |
---|
JCacheCacheMeterBinderProvider() |
Modifier and Type | Method and Description |
---|---|
io.micrometer.core.instrument.binder.MeterBinder |
getMeterBinder(org.springframework.cache.jcache.JCacheCache cache,
Iterable<io.micrometer.core.instrument.Tag> tags)
Return the
MeterBinder managing the specified Cache or null
if the specified Cache is not supported. |
public io.micrometer.core.instrument.binder.MeterBinder getMeterBinder(org.springframework.cache.jcache.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<org.springframework.cache.jcache.JCacheCache>
cache
- the cache to instrumenttags
- tags to apply to all recorded metricsMeterBinder
handling the specified Cache
or null
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.