public interface ManagedDynamicCache
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
Modifier and Type | Method and Description |
---|---|
int |
getCacheSize()
This method returns the total number of cache entries.
|
long |
getEvictions()
This method returns the number of entries that have been removed from the cache by an
LRU (least
recently used) algorithm. |
long |
getHits()
This method returns the number of cache hits.
|
long |
getMisses()
This method returns the number of cache misses.
|
int |
getUsedCacheSize()
This method returns the number of currently contained cache entries.
|
void |
setInitialCapacity(int initialCapacity)
This method sets the initial capacity of the registry.
|
static final java.lang.String COPYRIGHT
long getMisses()
long getEvictions()
LRU
(least
recently used) algorithm.long getHits()
int getCacheSize()
int getUsedCacheSize()
void setInitialCapacity(int initialCapacity)
The
- initial capacity of the registry.