Constructor and Description |
---|
DataCacheLRUImpl(int cacheSize)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
EventTable[] |
getCached(java.lang.Object[] lookupKeys)
Retrieves an entry from the cache.
|
int |
getCacheSize()
Returns the maximum cache size.
|
boolean |
isActive()
Returns true if the cache is active and currently caching, or false if the cache is inactive and not currently caching
|
void |
put(java.lang.Object[] keys,
EventTable[] value)
Adds an entry to this cache.
|
public DataCacheLRUImpl(int cacheSize)
cacheSize
- is the maximum cache sizepublic EventTable[] getCached(java.lang.Object[] lookupKeys)
public void put(java.lang.Object[] keys, EventTable[] value)
public int getCacheSize()
public boolean isActive()
DataCache