Package net.ontopia.persistence.proxy
Interface CacheIF<K,V>
-
- All Known Implementing Classes:
ClusteredCache
,DefaultCache
public interface CacheIF<K,V>
INTERNAL: Simple interface used by innermost caches.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
clear(boolean notifyCluster)
V
get(K key)
V
put(K key, V value)
V
remove(K key, boolean notifyCluster)
void
removeAll(Collection<K> keys, boolean notifyCluster)
long
size()
void
writeReport(Writer out, boolean dumpCache)
-
-
-
Method Detail
-
removeAll
void removeAll(Collection<K> keys, boolean notifyCluster)
-
clear
void clear(boolean notifyCluster)
-
writeReport
void writeReport(Writer out, boolean dumpCache) throws IOException
- Throws:
IOException
-
size
long size()
-
-