public interface IFailureDetector
Modifier and Type | Method and Description |
---|---|
void |
forceConviction(java.net.InetAddress ep)
force conviction of endpoint in the failure detector
|
void |
interpret(java.net.InetAddress ep)
This method is invoked by any entity wanting to interrogate the status of an endpoint.
|
boolean |
isAlive(java.net.InetAddress ep)
Failure Detector's knowledge of whether a node is up or
down.
|
void |
registerFailureDetectionEventListener(IFailureDetectionEventListener listener)
Register interest for Failure Detector events.
|
void |
remove(java.net.InetAddress ep)
remove endpoint from failure detector
|
void |
report(java.net.InetAddress ep)
This method is invoked by the receiver of the heartbeat.
|
void |
unregisterFailureDetectionEventListener(IFailureDetectionEventListener listener)
Un-register interest for Failure Detector events.
|
boolean isAlive(java.net.InetAddress ep)
ep
- endpoint in question.void interpret(java.net.InetAddress ep)
void report(java.net.InetAddress ep)
void remove(java.net.InetAddress ep)
void forceConviction(java.net.InetAddress ep)
void registerFailureDetectionEventListener(IFailureDetectionEventListener listener)
listener
- implementation of an application provided IFailureDetectionEventListenervoid unregisterFailureDetectionEventListener(IFailureDetectionEventListener listener)
listener
- implementation of an application provided IFailureDetectionEventListenerCopyright © 2019 The Apache Software Foundation