|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Monitor
Objects that implement this interface are responsible for monitoring Grid Machines and providing an updated information about their states.
Method Summary | |
---|---|
java.util.Map<java.lang.String,MonitoringUnit> |
getMonitorables()
Retrieves a collection of monitorables |
void |
register(Notifiable notifiable,
java.lang.String monitorableAddress)
Adds an object interested in receiving Grid Machine state changes notifications of the specified Grid Machine. |
void |
startMonitoring()
Starts monitoring Grid Machines. |
void |
unregister(Notifiable notifiable)
Removes the object interested in receiving Grid Machine state changes notifications of all monitorables interested list. |
void |
unregister(Notifiable notifiable,
java.lang.String monitorableAddress)
Removes the object interested in receiving Grid Machine state changes notifications. |
Method Detail |
---|
void register(Notifiable notifiable, java.lang.String monitorableAddress) throws java.rmi.RemoteException, java.net.MalformedURLException
notifiable
- object interested in receiving the notificationsmonitorableAddress
- the address of the service (FailureDetector
..
Monitorable
) to monitor
java.rmi.RemoteException
- if anything wrong occurs in communication.
java.net.MalformedURLException
void unregister(Notifiable notifiable, java.lang.String monitorableAddress) throws java.rmi.RemoteException
notifiable
- the object to be removedmonitorableAddress
- the Monitorable
address that the
Notifiable
will not be interested.
java.rmi.RemoteException
- if anything wrong occurs in communication.void unregister(Notifiable notifiable) throws java.rmi.RemoteException
notifiable
- the object to be removed
java.rmi.RemoteException
- if anything wrong occurs in communication.void startMonitoring() throws java.rmi.RemoteException
java.rmi.RemoteException
- if anything wrong occurs in communication.java.util.Map<java.lang.String,MonitoringUnit> getMonitorables() throws java.rmi.RemoteException
java.rmi.RemoteException
- If anything wrong occurs in communication.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |