public class EhCache2CacheMeterBinderProvider extends Object implements CacheMeterBinderProvider<org.springframework.cache.ehcache.EhCacheCache>
CacheMeterBinderProvider
implementation for EhCache2.Constructor and Description |
---|
EhCache2CacheMeterBinderProvider() |
Modifier and Type | Method and Description |
---|---|
io.micrometer.core.instrument.binder.MeterBinder |
getMeterBinder(org.springframework.cache.ehcache.EhCacheCache 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.ehcache.EhCacheCache 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.ehcache.EhCacheCache>
cache
- the cache to instrumenttags
- tags to apply to all recorded metricsMeterBinder
handling the specified Cache
or null
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.