net.sf.ehcache.distribution
public interface CacheManagerPeerProvider
Version: $Id: CacheManagerPeerProvider.java 100 2006-05-30 08:19:29Z gregluck $
Method Summary | |
---|---|
void | dispose()
Providers may be doing all sorts of exotic things and need to be able to clean up on dispose. |
long | getTimeForClusterToForm()
Time for a cluster to form. |
void | init()
Notifies providers to initialise themselves. |
List | listRemoteCachePeers(Ehcache cache) |
void | registerPeer(String rmiUrl)
Register a new peer. |
void | unregisterPeer(String rmiUrl)
Unregisters a peer.
|
Throws: CacheException
Returns: the time in ms, for a cluster to form
Throws: CacheException
Returns: a list of CachePeer peers for the given cache, excluding the local peer.
Parameters: rmiUrl
Parameters: rmiUrl