Interface FailureDetector.Listener
-
- All Known Implementing Classes:
SingleConnectionBrokerRequestHandler
- Enclosing interface:
- FailureDetector
public static interface FailureDetector.ListenerListener for the failure detector.
-
-
Method Summary
Modifier and Type Method Description voidnotifyHealthyServer(String instanceId, FailureDetector failureDetector)Notifies the listener of a previous unhealthy server turning healthy.voidnotifyUnhealthyServer(String instanceId, FailureDetector failureDetector)Notifies the listener of an unhealthy server.voidretryUnhealthyServer(String instanceId, FailureDetector failureDetector)Notifies the listener to retry a previous unhealthy server.
-
-
-
Method Detail
-
notifyUnhealthyServer
void notifyUnhealthyServer(String instanceId, FailureDetector failureDetector)
Notifies the listener of an unhealthy server.
-
retryUnhealthyServer
void retryUnhealthyServer(String instanceId, FailureDetector failureDetector)
Notifies the listener to retry a previous unhealthy server.
-
notifyHealthyServer
void notifyHealthyServer(String instanceId, FailureDetector failureDetector)
Notifies the listener of a previous unhealthy server turning healthy.
-
-