net.ontopia.persistence.proxy
Class QueryCache
java.lang.Object
net.ontopia.persistence.proxy.QueryCache
- All Implemented Interfaces:
- EvictableIF
public class QueryCache
- extends Object
- implements EvictableIF
INTERNAL: A storage access implementation accessing relational
databases using JDBC.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
query
protected DetachedQueryIF query
cache
protected CacheIF cache
lru
protected Map lru
lrusize
protected int lrusize
executeQuery
public Object executeQuery(StorageAccessIF access,
Object cachekey,
Object[] query_params)
remove
public Object remove(Object key)
removeAll
public void removeAll(Collection keys)
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.