Package net.ontopia.persistence.proxy
Class TransactionalLRULookupIndex
- java.lang.Object
-
- net.ontopia.persistence.proxy.TransactionalLRULookupIndex
-
- All Implemented Interfaces:
CacheMetricsIF,EvictableIF,TransactionalLookupIndexIF
public class TransactionalLRULookupIndex extends Object implements TransactionalLookupIndexIF, EvictableIF, CacheMetricsIF
INTERNAL:
-
-
Constructor Summary
Constructors Constructor Description TransactionalLRULookupIndex(CacheIF cache, int lrusize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidabort()voidclear(boolean notifyCluster)voidcommit()Objectget(Object key)longgetCacheSize()longgetLRUSize()longgetMaxLRUSize()Objectput(Object key, Object value)Objectremove(Object key)Objectremove(Object key, boolean notifyCluster)voidremoveAll(Collection keys)voidremoveAll(Collection keys, boolean notifyCluster)voidwriteReport(Writer out, boolean dumpCache)
-
-
-
Constructor Detail
-
TransactionalLRULookupIndex
public TransactionalLRULookupIndex(CacheIF cache, int lrusize)
-
-
Method Detail
-
get
public Object get(Object key)
- Specified by:
getin interfaceTransactionalLookupIndexIF
-
put
public Object put(Object key, Object value)
- Specified by:
putin interfaceTransactionalLookupIndexIF
-
remove
public Object remove(Object key)
- Specified by:
removein interfaceTransactionalLookupIndexIF
-
removeAll
public void removeAll(Collection keys)
- Specified by:
removeAllin interfaceTransactionalLookupIndexIF
-
commit
public void commit()
- Specified by:
commitin interfaceTransactionalLookupIndexIF
-
abort
public void abort()
- Specified by:
abortin interfaceTransactionalLookupIndexIF
-
remove
public Object remove(Object key, boolean notifyCluster)
- Specified by:
removein interfaceEvictableIF
-
removeAll
public void removeAll(Collection keys, boolean notifyCluster)
- Specified by:
removeAllin interfaceEvictableIF
-
clear
public void clear(boolean notifyCluster)
- Specified by:
clearin interfaceEvictableIF
-
writeReport
public void writeReport(Writer out, boolean dumpCache) throws IOException
- Throws:
IOException
-
getCacheSize
public long getCacheSize()
- Specified by:
getCacheSizein interfaceCacheMetricsIF
-
getLRUSize
public long getLRUSize()
- Specified by:
getLRUSizein interfaceCacheMetricsIF
-
getMaxLRUSize
public long getMaxLRUSize()
- Specified by:
getMaxLRUSizein interfaceCacheMetricsIF
-
-