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 TypeMethodDescriptionvoid
onPingLost
(Member member) Notifies theSplitBrainProtectionFunction
of ping loss.void
onPingRestored
(Member member) Notifies theSplitBrainProtectionFunction
of a successful ping after one or more pings to that member were lost.
-
Method Details
-
onPingLost
Notifies theSplitBrainProtectionFunction
of ping loss.- Parameters:
member
- member which was not pinged successfully
-
onPingRestored
Notifies theSplitBrainProtectionFunction
of a successful ping after one or more pings to that member were lost.- Parameters:
member
- member which was pinged successfully
-