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:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidabort()voidclear(boolean notifyCluster) voidcommit()longlonglongvoidremoveAll(Collection keys) voidremoveAll(Collection keys, boolean notifyCluster) voidwriteReport(Writer out, boolean dumpCache)
-
Field Details
-
cache
-
lru
-
lrusize
protected int lrusize
-
-
Constructor Details
-
TransactionalLRULookupIndex
-
-
Method Details
-
get
- Specified by:
getin interfaceTransactionalLookupIndexIF
-
put
- Specified by:
putin interfaceTransactionalLookupIndexIF
-
remove
- Specified by:
removein interfaceTransactionalLookupIndexIF
-
removeAll
- Specified by:
removeAllin interfaceTransactionalLookupIndexIF
-
commit
public void commit()- Specified by:
commitin interfaceTransactionalLookupIndexIF
-
abort
public void abort()- Specified by:
abortin interfaceTransactionalLookupIndexIF
-
remove
- Specified by:
removein interfaceEvictableIF
-
removeAll
- Specified by:
removeAllin interfaceEvictableIF
-
clear
public void clear(boolean notifyCluster) - Specified by:
clearin interfaceEvictableIF
-
writeReport
- 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
-