|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Monitorable
Title: Failure Spotter - Research Line 2 Copyright: Copyright (c) 2004 Company: UFCG-DSC/HP The Monitorable interface allows a monitor to probe a monitorable entity.
To recover session information about the Monitorable
session
we are using the encarnation number. This number must be generated at
Monitorable
construction, and is used to identify when a
Monitorable
changes quickly it state, from from up to down and
then do up again (between two pings), so the FailureDetector
could not realize.
Note: By default, a monitorable should have two states:
Monitorable
is down.Monitorable
is ok.
GumStatus
Method Summary | |
---|---|
GenericState |
getCurrentState()
Retrieves the monitorable current status. |
double |
getEncarnationNumber()
Return an unique identifier of the Monitorable session. |
Method Detail |
---|
GenericState getCurrentState() throws java.rmi.RemoteException
Monitorable
state.
java.rmi.RemoteException
- if anything wrong occurs in communication.double getEncarnationNumber() throws java.rmi.RemoteException
Monitorable
session.
Monitorable
session.
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 |