public interface CacheStatistics extends Serializable
| Modifier and Type | Method and Description |
|---|---|
long |
getCacheHits()
Get the total number of cache hits.
|
long |
getCacheMisses()
Get the total number of cache misses.
|
long |
getCacheMissesExpired()
Get the number of cache misses where the entry was expired.
|
long |
getCacheMissesNotFound()
Get the number of cache misses where the entry was not found.
|
int |
getCurrentSize()
Get the current size (the number of entries) in the cache.
|
long |
getGetCount()
Get the total get count.
|
float |
getHitRate()
Get the current hit rate, this is a value [0,1] which is the percentage of hits on all get
requests.
|
long |
getPutCount()
Get the total put count.
|
void |
reset()
Reset the statistics.
|
long getCacheHits()
long getCacheMissesNotFound()
long getPutCount()
long getGetCount()
void reset()
float getHitRate()
long getCacheMisses()
int getCurrentSize()
long getCacheMissesExpired()
Copyright © 2014 dontdrinkandroot. All rights reserved.