Interface PingAware
public interface PingAware
Split brain protection functions that need access to ICMP ping failure detector should implement this interface;
the instance of
PingFailureDetector used by this member's
ClusterHeartbeatManager will be provided on initialization.-
Method Summary
Modifier and TypeMethodDescriptionvoidonPingLost(Member member) Notifies theSplitBrainProtectionFunctionof ping loss.voidonPingRestored(Member member) Notifies theSplitBrainProtectionFunctionof a successful ping after one or more pings to that member were lost.
-
Method Details
-
onPingLost
Notifies theSplitBrainProtectionFunctionof ping loss.- Parameters:
member- member which was not pinged successfully
-
onPingRestored
Notifies theSplitBrainProtectionFunctionof a successful ping after one or more pings to that member were lost.- Parameters:
member- member which was pinged successfully
-