|
ehcache | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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. |
void |
init()
Notifies providers to initialise themselves. |
java.util.List |
listRemoteCachePeers(Cache cache)
|
void |
registerPeer(java.lang.String rmiUrl)
Register a new peer. |
void |
unregisterPeer(java.lang.String rmiUrl)
Unregisters a peer. |
Method Detail |
public void registerPeer(java.lang.String rmiUrl)
rmiUrl
- public void unregisterPeer(java.lang.String rmiUrl)
rmiUrl
- public java.util.List listRemoteCachePeers(Cache cache) throws CacheException
CachePeer
peers for the given cache, excluding the local peer.
CacheException
public void init()
CacheException
public void dispose() throws CacheException
CacheException
|
ehcache | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |