public class ActiveFailureDetector extends GSThread implements FaultDetectionListener
ActiveElectionManager
Thread.State, Thread.UncaughtExceptionHandler
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Modifier and Type | Method and Description |
---|---|
boolean |
isTerminate() |
void |
run() |
void |
serviceFailure(Object service,
Object serviceID)
Notify the FaultDetectionListener that the service has failed
|
void |
terminate()
Terminate the ActiveFailureDetector.
|
String |
toString() |
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, yield
public void serviceFailure(Object service, Object serviceID)
FaultDetectionListener
serviceFailure
in interface FaultDetectionListener
service
- The service that has failedserviceID
- An Object representing a unique service identifier of the service that has
failedFaultDetectionListener.serviceFailure(Object, Object)
public boolean isTerminate()
public void terminate()
Copyright © GigaSpaces.