net.sf.ehcache.distribution
public final class ManualRMICacheManagerPeerProvider extends RMICacheManagerPeerProvider
Version: $Id: ManualRMICacheManagerPeerProvider.java 100 2006-05-30 08:19:29Z gregluck $
Constructor Summary | |
---|---|
ManualRMICacheManagerPeerProvider()
Empty constructor. |
Method Summary | |
---|---|
long | getTimeForClusterToForm()
Time for a cluster to form. |
void | init() |
List | listRemoteCachePeers(Ehcache cache) |
void | registerPeer(String rmiUrl)
Register a new peer.
|
protected boolean | stale(Date date)
Whether the entry should be considered stale.
|
Returns: the time in ms, for a cluster to form
Returns: a list of CachePeer peers, excluding the local peer.
Parameters: rmiUrl
Parameters: date the date the entry was created
Returns: true if stale