net.ontopia.persistence.proxy
Class QueryCache
java.lang.Object
net.ontopia.persistence.proxy.QueryCache
- All Implemented Interfaces:
- EvictableIF
public class QueryCache
- extends java.lang.Object
- implements EvictableIF
INTERNAL: A storage access implementation accessing relational
databases using JDBC.
Method Summary |
void |
clear(boolean notifyCluster)
|
java.lang.Object |
executeQuery(StorageAccessIF access,
java.lang.Object cachekey,
java.lang.Object[] query_params)
|
java.lang.Object |
remove(java.lang.Object key)
|
java.lang.Object |
remove(java.lang.Object key,
boolean notifyCluster)
|
void |
removeAll(java.util.Collection keys)
|
void |
removeAll(java.util.Collection keys,
boolean notifyCluster)
|
void |
writeReport(java.io.Writer out,
boolean dumpCache)
|
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 java.util.Map lru
lrusize
protected int lrusize
executeQuery
public java.lang.Object executeQuery(StorageAccessIF access,
java.lang.Object cachekey,
java.lang.Object[] query_params)
remove
public java.lang.Object remove(java.lang.Object key)
removeAll
public void removeAll(java.util.Collection keys)
remove
public java.lang.Object remove(java.lang.Object key,
boolean notifyCluster)
- Specified by:
remove
in interface EvictableIF
removeAll
public void removeAll(java.util.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(java.io.Writer out,
boolean dumpCache)
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2000-2012 Ontopia.