net.ontopia.persistence.proxy
Class TransactionalLRULookupIndex
java.lang.Object
net.ontopia.persistence.proxy.TransactionalLRULookupIndex
- All Implemented Interfaces:
- EvictableIF, TransactionalLookupIndexIF, LookupIndexIF
public class TransactionalLRULookupIndex
- extends Object
- implements TransactionalLookupIndexIF, EvictableIF
INTERNAL:
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
cache
protected CacheIF cache
lru
protected Map lru
lrusize
protected int lrusize
TransactionalLRULookupIndex
public TransactionalLRULookupIndex(CacheIF cache,
int lrusize)
get
public Object get(Object key)
- Specified by:
get
in interface LookupIndexIF
put
public Object put(Object key,
Object value)
- Specified by:
put
in interface LookupIndexIF
remove
public Object remove(Object key)
- Specified by:
remove
in interface LookupIndexIF
removeAll
public void removeAll(Collection keys)
- Specified by:
removeAll
in interface TransactionalLookupIndexIF
commit
public void commit()
- Specified by:
commit
in interface TransactionalLookupIndexIF
abort
public void abort()
- Specified by:
abort
in interface TransactionalLookupIndexIF
remove
public Object remove(Object key,
boolean notifyCluster)
- Specified by:
remove
in interface EvictableIF
removeAll
public void removeAll(Collection keys,
boolean notifyCluster)
- Specified by:
removeAll
in interface EvictableIF
clear
public void clear(boolean notifyCluster)
- Specified by:
clear
in interface EvictableIF
writeReport
public void writeReport(Writer out,
boolean dumpCache)
throws IOException
- Throws:
IOException
Copyright © 2000-2012 Ontopia.