public class RedissonCacheMetrics
extends io.micrometer.core.instrument.binder.cache.CacheMeterBinder
Constructor and Description |
---|
RedissonCacheMetrics(RedissonCache cache,
Iterable<io.micrometer.core.instrument.Tag> tags) |
Modifier and Type | Method and Description |
---|---|
protected void |
bindImplementationSpecificMetrics(io.micrometer.core.instrument.MeterRegistry registry) |
protected Long |
evictionCount() |
protected long |
hitCount() |
protected Long |
missCount() |
static RedissonCache |
monitor(io.micrometer.core.instrument.MeterRegistry registry,
RedissonCache cache,
Iterable<io.micrometer.core.instrument.Tag> tags)
Record metrics on a Redisson cache.
|
protected long |
putCount() |
protected Long |
size() |
public RedissonCacheMetrics(RedissonCache cache, Iterable<io.micrometer.core.instrument.Tag> tags)
public static RedissonCache monitor(io.micrometer.core.instrument.MeterRegistry registry, RedissonCache cache, Iterable<io.micrometer.core.instrument.Tag> tags)
registry
- - registry to bind metrics tocache
- - cache to instrumenttags
- - tags to apply to all recorded metricsprotected Long size()
size
in class io.micrometer.core.instrument.binder.cache.CacheMeterBinder
protected long hitCount()
hitCount
in class io.micrometer.core.instrument.binder.cache.CacheMeterBinder
protected Long missCount()
missCount
in class io.micrometer.core.instrument.binder.cache.CacheMeterBinder
protected Long evictionCount()
evictionCount
in class io.micrometer.core.instrument.binder.cache.CacheMeterBinder
protected long putCount()
putCount
in class io.micrometer.core.instrument.binder.cache.CacheMeterBinder
protected void bindImplementationSpecificMetrics(io.micrometer.core.instrument.MeterRegistry registry)
bindImplementationSpecificMetrics
in class io.micrometer.core.instrument.binder.cache.CacheMeterBinder
Copyright © 2014–2020 Redisson. All rights reserved.