|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.proactive.core.body.ft.servers.faultdetection.FaultDetectorImpl
An implementation of the FaultDetector
Field Summary | |
protected static org.apache.log4j.Logger |
logger
|
Fields inherited from interface org.objectweb.proactive.core.body.ft.servers.faultdetection.FaultDetector |
IS_DEAD, OK |
Constructor Summary | |
FaultDetectorImpl(FTServer server,
long faultDetectPeriod)
|
Method Summary | |
void |
forceDetection()
Force a failure detection even if the failure detector thread is waiting. |
void |
initialize()
Reinit the state of the fault detector |
boolean |
isUnreachable(UniversalBody body)
The fault detector test the reachability of the active object body by sending a heartbeat message to body. |
void |
startFailureDetector()
Start the tread that periodically test the reachability of objects that are registred in the location server ls. |
void |
stopFailureDetector()
Stop the the failure detector thread. |
void |
suspendFailureDetector()
Temporarily suspend the failure detector thread. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static org.apache.log4j.Logger logger
Constructor Detail |
public FaultDetectorImpl(FTServer server, long faultDetectPeriod)
Method Detail |
public boolean isUnreachable(UniversalBody body) throws java.rmi.RemoteException
FaultDetector
isUnreachable
in interface FaultDetector
body
- the tested active object
java.rmi.RemoteException
FaultDetector.isUnreachable(org.objectweb.proactive.core.body.UniversalBody)
public void startFailureDetector() throws java.rmi.RemoteException
FaultDetector
startFailureDetector
in interface FaultDetector
java.rmi.RemoteException
FaultDetector.startFailureDetector()
public void suspendFailureDetector() throws java.rmi.RemoteException
FaultDetector
suspendFailureDetector
in interface FaultDetector
java.rmi.RemoteException
FaultDetector.suspendFailureDetector()
public void stopFailureDetector() throws java.rmi.RemoteException
FaultDetector
stopFailureDetector
in interface FaultDetector
java.rmi.RemoteException
FaultDetector.stopFailureDetector()
public void forceDetection() throws java.rmi.RemoteException
FaultDetector
forceDetection
in interface FaultDetector
java.rmi.RemoteException
FaultDetector.forceDetection()
public void initialize() throws java.rmi.RemoteException
FaultDetector
initialize
in interface FaultDetector
java.rmi.RemoteException
FaultDetector.initialize()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |