C
- the cache type@FunctionalInterface public interface CacheMeterBinderProvider<C extends Cache>
MeterBinder
based on a Cache
.Modifier and Type | Method and Description |
---|---|
io.micrometer.core.instrument.binder.MeterBinder |
getMeterBinder(C cache,
Iterable<io.micrometer.core.instrument.Tag> tags)
|
io.micrometer.core.instrument.binder.MeterBinder getMeterBinder(C cache, Iterable<io.micrometer.core.instrument.Tag> tags)
MeterBinder
managing the specified Cache
or null
if the specified Cache
is not supported.cache
- the cache to instrumenttags
- tags to apply to all recorded metricsMeterBinder
handling the specified Cache
or null