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 TransactionalLookupIndexIF
public Object put(Object key, Object value)
put
in interface TransactionalLookupIndexIF
public Object remove(Object key)
remove
in interface TransactionalLookupIndexIF
public void removeAll(Collection keys)
removeAll
in interface TransactionalLookupIndexIF
public void commit()
commit
in interface TransactionalLookupIndexIF
public void abort()
abort
in interface TransactionalLookupIndexIF
public Object remove(Object key, boolean notifyCluster)
remove
in interface EvictableIF
public void removeAll(Collection keys, boolean notifyCluster)
removeAll
in interface EvictableIF
public void clear(boolean notifyCluster)
clear
in interface EvictableIF
public void writeReport(Writer out, boolean dumpCache) throws IOException
IOException