|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ProvisionMonitor
The ProvisionMonitor extends the ProvisionManager and Service interfaces, and defines the semantics required for ProvisionMonitor instances to back-up each other
| Nested Class Summary | |
|---|---|
static class |
ProvisionMonitor.PeerInfo
Contains information about ProvisionMonitor peers involved in providing support for backup approach |
| Method Summary | |
|---|---|
boolean |
assignBackupFor(ProvisionMonitor monitor)
Assign the ProvisionMonitor as a backup for another ProvisionMonitor |
ProvisionMonitor.PeerInfo |
getPeerInfo()
Get the PeerInfo object for the ProvisionMonitor |
boolean |
removeBackupFor(ProvisionMonitor monitor)
Remove the ProvisionMonitor as a backup for another ProvisionMonitor |
void |
update(ProvisionMonitor.PeerInfo info)
Notification from ProvisionMonitor peers updates to the PeerInfo object. |
| Methods inherited from interface org.rioproject.core.provision.ProvisionManager |
|---|
getServiceBeanInstantiators, register, update |
| Methods inherited from interface net.jini.admin.Administrable |
|---|
getAdmin |
| Methods inherited from interface org.rioproject.jsb.MonitorableService |
|---|
monitor, ping, startHeartbeat |
| Methods inherited from interface org.rioproject.event.EventProducer |
|---|
register |
| Methods inherited from interface org.rioproject.watch.Watchable |
|---|
fetch, fetch |
| Method Detail |
|---|
boolean assignBackupFor(ProvisionMonitor monitor)
throws RemoteException
monitor - The ProvisionMonitor that will be backed up. If this
ProvisionMonitor is removed from the network, then all OperationalString
instances the removed ProvisionManager was managing will be managed by this
ProvisionMonitor
RemoteException - if communication errors occur
boolean removeBackupFor(ProvisionMonitor monitor)
throws RemoteException
monitor - The primary ProvisionMonitor that no longer requires
the support of this ProvisionManager
RemoteException - if communication errors occur
void update(ProvisionMonitor.PeerInfo info)
throws RemoteException
info - The PeerInfo object
RemoteException - if communication errors occur
ProvisionMonitor.PeerInfo getPeerInfo()
throws RemoteException
RemoteException - if communication errors occur
|
Copyright © Rio Project. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||