C
- The cache type@FunctionalInterface public interface CacheMeterBinderProvider<C extends org.springframework.cache.Cache>
MeterBinder
based on a Cache
.Modifier and Type | Method and Description |
---|---|
io.micrometer.core.instrument.binder.MeterBinder |
getMeterBinder(C cache,
String name,
Iterable<io.micrometer.core.instrument.Tag> tags)
Return the
MeterBinder managing the specified Cache or null
if the specified Cache is not supported. |
io.micrometer.core.instrument.binder.MeterBinder getMeterBinder(C cache, String name, 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 instrumentname
- the name prefix of the metricstags
- tags to apply to all recorded metricsMeterBinder
handling the specified Cache
or null
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.