public class ActiveFailureDetector extends GSThread implements FaultDetectionListener
ActiveElectionManagerThread.State, Thread.UncaughtExceptionHandlerMAX_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, yieldpublic void serviceFailure(Object service, Object serviceID)
FaultDetectionListenerserviceFailure in interface FaultDetectionListenerservice - 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.