类 RedisCacheMetrics
java.lang.Object
io.micrometer.core.instrument.binder.cache.CacheMeterBinder<org.springframework.data.redis.cache.RedisCache>
org.springframework.boot.actuate.metrics.cache.RedisCacheMetrics
- 所有已实现的接口:
io.micrometer.core.instrument.binder.MeterBinder
public class RedisCacheMetrics
extends io.micrometer.core.instrument.binder.cache.CacheMeterBinder<org.springframework.data.redis.cache.RedisCache>
CacheMeterBinder
for RedisCache
.- 从以下版本开始:
- 2.4.0
- 作者:
- Stephane Nicoll
-
构造器概要
构造器构造器说明RedisCacheMetrics
(org.springframework.data.redis.cache.RedisCache cache, Iterable<io.micrometer.core.instrument.Tag> tags) -
方法概要
从类继承的方法 io.micrometer.core.instrument.binder.cache.CacheMeterBinder
bindTo, getCache, getTagsWithCacheName
-
构造器详细资料
-
RedisCacheMetrics
public RedisCacheMetrics(org.springframework.data.redis.cache.RedisCache cache, Iterable<io.micrometer.core.instrument.Tag> tags)
-
-
方法详细资料
-
size
- 指定者:
size
在类中io.micrometer.core.instrument.binder.cache.CacheMeterBinder<org.springframework.data.redis.cache.RedisCache>
-
hitCount
protected long hitCount()- 指定者:
hitCount
在类中io.micrometer.core.instrument.binder.cache.CacheMeterBinder<org.springframework.data.redis.cache.RedisCache>
-
missCount
- 指定者:
missCount
在类中io.micrometer.core.instrument.binder.cache.CacheMeterBinder<org.springframework.data.redis.cache.RedisCache>
-
evictionCount
- 指定者:
evictionCount
在类中io.micrometer.core.instrument.binder.cache.CacheMeterBinder<org.springframework.data.redis.cache.RedisCache>
-
putCount
protected long putCount()- 指定者:
putCount
在类中io.micrometer.core.instrument.binder.cache.CacheMeterBinder<org.springframework.data.redis.cache.RedisCache>
-
bindImplementationSpecificMetrics
protected void bindImplementationSpecificMetrics(io.micrometer.core.instrument.MeterRegistry registry) - 指定者:
bindImplementationSpecificMetrics
在类中io.micrometer.core.instrument.binder.cache.CacheMeterBinder<org.springframework.data.redis.cache.RedisCache>
-