|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CacheManagerPeerProvider
Provides a discovery service to locate CachePeer
RMI listener peers for a Cache.
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. |
java.util.List |
listRemoteCachePeers(Ehcache cache)
|
void |
registerPeer(java.lang.String rmiUrl)
Register a new peer. |
void |
unregisterPeer(java.lang.String rmiUrl)
Unregisters a peer. |
Method Detail |
---|
void registerPeer(java.lang.String rmiUrl)
rmiUrl
- void unregisterPeer(java.lang.String rmiUrl)
rmiUrl
- java.util.List listRemoteCachePeers(Ehcache cache) throws CacheException
CachePeer
peers for the given cache, excluding the local peer.
CacheException
void init()
CacheException
void dispose() throws CacheException
CacheException
long getTimeForClusterToForm()
|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |