Interface LagDetector.LagListener
- Enclosing class:
- LagDetector
public static interface LagDetector.LagListener
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onLagDetected
(DiscoveryNode discoveryNode, long appliedVersion, long expectedVersion) Called when a node is detected as lagging and should be removed from the cluster.
-
Method Details
-
onLagDetected
Called when a node is detected as lagging and should be removed from the cluster.- Parameters:
discoveryNode
- the node that is lagging.appliedVersion
- the cluster state version that the node has definitely appliedexpectedVersion
- the cluster state version that we were waiting for the node to apply
-