ICache.Base<K,V>| Constructor and Description |
|---|
Base() |
| Modifier and Type | Method and Description |
|---|---|
long |
getCacheMisses()
The number of requests that could not be served
|
long |
getCacheRequests()
The number of requests made to the cache
|
long |
getCacheSize()
The size of the cache as number of entries
|
double |
getPercentageMisses()
a fraction < 1 (not a percentage) misses/requests
|
void |
resetCache()
Remove all entries from the cache and reset statistics if possible.
|
public long getCacheSize()
ICachegetCacheSize in interface ICache<K,V>public long getCacheMisses()
ICachegetCacheMisses in interface ICache<K,V>public long getCacheRequests()
ICachegetCacheRequests in interface ICache<K,V>public double getPercentageMisses()
ICachegetPercentageMisses in interface ICache<K,V>public void resetCache()
ICacheresetCache in interface ICache<K,V>Copyright © 2017 51Degrees. All rights reserved.