public interface CacheStatistics
Used to get statistics from a generic cache.
Modifier and Type | Method and Description |
---|---|
long |
getCacheClearedCount()
Returns how many times the cache has been cleared completely.
|
long |
getCurrentEntries()
Returns the amount of current entries cached.
|
double |
getEffectiveness()
Returns the effectiveness of a cache: hits / (hits + misses)
|
long |
getEntriesEvicted()
Returns the amount of entries evicted.
|
long |
getEntriesHit()
Returns the amount of entries hit.
|
long |
getEntriesMissed()
Returns the amount of entries missed.
|
String |
getName()
Returns the name of the cache.
|
String getName()
Returns the name of the cache.
double getEffectiveness()
Returns the effectiveness of a cache: hits / (hits + misses)
long getCurrentEntries()
Returns the amount of current entries cached.
long getEntriesHit()
Returns the amount of entries hit.
long getEntriesMissed()
Returns the amount of entries missed.
long getEntriesEvicted()
Returns the amount of entries evicted.
long getCacheClearedCount()
Returns how many times the cache has been cleared completely.
Copyright © 2010 - 2019 edorasware ag. All Rights Reserved.