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