public class QueryCache<K,E> extends Object implements EvictableIF<K,E>
Modifier and Type | Field and Description |
---|---|
protected CacheIF<K,E> |
cache |
protected Map<K,E> |
lru |
protected int |
lrusize |
protected DetachedQueryIF |
query |
Modifier and Type | Method and Description |
---|---|
void |
clear(boolean notifyCluster) |
E |
executeQuery(StorageAccessIF access,
K cachekey,
Object[] query_params) |
E |
remove(K key) |
E |
remove(K key,
boolean notifyCluster) |
void |
removeAll(Collection<K> keys) |
void |
removeAll(Collection<K> keys,
boolean notifyCluster) |
void |
writeReport(Writer out,
boolean dumpCache) |
protected DetachedQueryIF query
protected int lrusize
public E executeQuery(StorageAccessIF access, K cachekey, Object[] query_params)
public void removeAll(Collection<K> keys)
public E remove(K key, boolean notifyCluster)
remove
in interface EvictableIF<K,E>
public void removeAll(Collection<K> keys, boolean notifyCluster)
removeAll
in interface EvictableIF<K,E>
public void clear(boolean notifyCluster)
clear
in interface EvictableIF<K,E>
public void writeReport(Writer out, boolean dumpCache) throws IOException
IOException