public class TransactionalLRULookupIndex extends Object implements TransactionalLookupIndexIF, EvictableIF
| Modifier and Type | Field and Description |
|---|---|
protected CacheIF |
cache |
protected Map |
lru |
protected int |
lrusize |
| Constructor and Description |
|---|
TransactionalLRULookupIndex(CacheIF cache,
int lrusize) |
| Modifier and Type | Method and Description |
|---|---|
void |
abort() |
void |
clear(boolean notifyCluster) |
void |
commit() |
Object |
get(Object key) |
Object |
put(Object key,
Object value) |
Object |
remove(Object key) |
Object |
remove(Object key,
boolean notifyCluster) |
void |
removeAll(Collection keys) |
void |
removeAll(Collection keys,
boolean notifyCluster) |
void |
writeReport(Writer out,
boolean dumpCache) |
public TransactionalLRULookupIndex(CacheIF cache, int lrusize)
public Object get(Object key)
get in interface TransactionalLookupIndexIFpublic Object put(Object key, Object value)
put in interface TransactionalLookupIndexIFpublic Object remove(Object key)
remove in interface TransactionalLookupIndexIFpublic void removeAll(Collection keys)
removeAll in interface TransactionalLookupIndexIFpublic void commit()
commit in interface TransactionalLookupIndexIFpublic void abort()
abort in interface TransactionalLookupIndexIFpublic Object remove(Object key, boolean notifyCluster)
remove in interface EvictableIFpublic void removeAll(Collection keys, boolean notifyCluster)
removeAll in interface EvictableIFpublic void clear(boolean notifyCluster)
clear in interface EvictableIFpublic void writeReport(Writer out, boolean dumpCache) throws IOException
IOException