Interface PingAware
-
public interface PingAware
Split brain protection functions that need access to ICMP ping failure detector should implement this interface; the instance ofPingFailureDetector
used by this member'sClusterHeartbeatManager
will be provided on initialization.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
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 Detail
-
onPingLost
void onPingLost(Member member)
Notifies theSplitBrainProtectionFunction
of ping loss.- Parameters:
member
- member which was not pinged successfully
-
onPingRestored
void onPingRestored(Member member)
Notifies theSplitBrainProtectionFunction
of a successful ping after one or more pings to that member were lost.- Parameters:
member
- member which was pinged successfully
-
-