Interface TransportClient.HostFailureListener
- Enclosing class:
- TransportClient
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Listener that allows to be notified whenever a node failure / disconnect happens
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onNodeDisconnected(DiscoveryNode node, Exception ex)
Called once a node disconnect is detected.
-
Method Details
-
onNodeDisconnected
Called once a node disconnect is detected.- Parameters:
node
- the node that has been disconnectedex
- the exception causing the disconnection
-