Because there is no monitoring of whether a peer is actually there, the list of peers is dynamically looked up and verified each time a lookup request is made.
| Modifier and Type | Field and Description |
|---|---|
| private static final Logger |
| Access | Constructor and Description |
|---|---|
| public |
| LOG | back to summary |
|---|---|
| private static final Logger LOG Hides net. | |
| ManualRMICacheManagerPeerProvider | back to summary |
|---|---|
| public ManualRMICacheManagerPeerProvider() Empty constructor. | |
| getTimeForClusterToForm | back to summary |
|---|---|
| public long getTimeForClusterToForm() Implements net. Time for a cluster to form. This varies considerably, depending on the implementation.
| |
| init | back to summary |
|---|---|
| public final void init() Implements abstract net. Implements net. Doc from net. Notifies providers to initialise themselves. | |
| listRemoteCachePeers | back to summary |
|---|---|
| public final synchronized List Implements abstract net. Implements net. | |
| registerPeer | back to summary |
|---|---|
| public final synchronized void registerPeer(String rmiUrl) Implements abstract net. Implements net. Register a new peer. | |
| stale | back to summary |
|---|---|
| protected final boolean stale(Date date) Implements abstract net. Whether the entry should be considered stale. Manual RMICacheManagerProviders use a static list of urls and are therefore never stale.
| |