public interface CacheStats
The data returned by this interface may not be 100% accurate, due to concurrency optimizations in implementations.
Modifier and Type | Method and Description |
---|---|
long |
estimatedCurrentEntries()
Number of key/value pair entries currently in the cache.
|
com.google.common.collect.ImmutableMap<String,Number> |
extensions()
Extensions provide implementation specific cache stats.
|
long |
hitCount()
Number of "hits" in the cache.
|
long |
missCount()
Number of "misses" in the cache.
|
long estimatedCurrentEntries()
long missCount()
CacheFunction
to have to be invoked on a Cache.get(Object)
.long hitCount()
Cache.get(Object)
without having to use its CacheFunction
.Copyright © 2019 OpenDaylight. All rights reserved.