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