This is the ManagedDynamicCache interface which defines the management methods for the dynamic cache.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT IBM copyright notice field. |
Method Summary | |
---|---|
int |
getCacheSize() Returns the total number of cache entries. |
long |
getEvictions() Returns the number of entries that have been removed from the cache by LRU algorithm. |
long |
getHits() Returns the number of cache hits. |
long |
getMisses() Returns the number of cache misses. |
int |
getUsedCacheSize() Returns the number of currently contained cache entries. |
void |
setInitialCapacity(int initialCapacity)
Sets the initial capacity of the registry. |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
Method Detail |
---|
public long getMisses()
public long getEvictions()
public long getHits()
public int getCacheSize()
public int getUsedCacheSize()
public void setInitialCapacity(int initialCapacity)