net.ontopia.persistence.proxy
Interface CacheIF

All Known Implementing Classes:
ClusteredCache, DefaultCache

public interface CacheIF

INTERNAL: Simple interface used by innermost caches.


Method Summary
 void clear(boolean notifyCluster)
           
 java.lang.Object get(java.lang.Object key)
           
 java.lang.Object put(java.lang.Object key, java.lang.Object value)
           
 java.lang.Object remove(java.lang.Object key, boolean notifyCluster)
           
 void removeAll(java.util.Collection keys, boolean notifyCluster)
           
 void writeReport(java.io.Writer out, boolean dumpCache)
           
 

Method Detail

get

java.lang.Object get(java.lang.Object key)

put

java.lang.Object put(java.lang.Object key,
                     java.lang.Object value)

remove

java.lang.Object remove(java.lang.Object key,
                        boolean notifyCluster)

removeAll

void removeAll(java.util.Collection keys,
               boolean notifyCluster)

clear

void clear(boolean notifyCluster)

writeReport

void writeReport(java.io.Writer out,
                 boolean dumpCache)
                 throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2000-2012 Ontopia.