public class CaffeineCacheMeterBinderProvider extends Object implements CacheMeterBinderProvider<org.springframework.cache.caffeine.CaffeineCache>
CacheMeterBinderProvider
implementation for Caffeine.Constructor and Description |
---|
CaffeineCacheMeterBinderProvider() |
Modifier and Type | Method and Description |
---|---|
io.micrometer.core.instrument.binder.MeterBinder |
getMeterBinder(org.springframework.cache.caffeine.CaffeineCache 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.caffeine.CaffeineCache 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.caffeine.CaffeineCache>
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.