net.sf.swarmcache
Class MultiCacheManager

java.lang.Object
  |
  +--net.sf.swarmcache.MultiCacheManager

public class MultiCacheManager
extends java.lang.Object

Manages the communications between other cache managers.

Author:
John Watkinson, Rajeev Kaul

Field Summary
static java.lang.String CLEAR_ALL
           
protected static java.util.Map instances
           
 
Constructor Summary
MultiCacheManager(Communicator comm)
           
 
Method Summary
 void addCache(MultiCache cache)
           
 void close()
           
 boolean containsCache(java.lang.String type)
           
static MultiCacheManager getManager(java.lang.String channelProperties)
           
 void receiveNotification(CacheNotification notification)
           
 void sendClear(java.lang.String type, java.io.Serializable key)
           
static void shutDown()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

instances

protected static java.util.Map instances

CLEAR_ALL

public static final java.lang.String CLEAR_ALL
See Also:
Constant Field Values
Constructor Detail

MultiCacheManager

public MultiCacheManager(Communicator comm)
Method Detail

getManager

public static MultiCacheManager getManager(java.lang.String channelProperties)

shutDown

public static void shutDown()

close

public void close()

addCache

public void addCache(MultiCache cache)

containsCache

public boolean containsCache(java.lang.String type)

sendClear

public void sendClear(java.lang.String type,
                      java.io.Serializable key)

receiveNotification

public void receiveNotification(CacheNotification notification)