Class FD_ICMP.PingMonitor
java.lang.Object
org.jgroups.protocols.FD.Monitor
org.jgroups.protocols.FD_ICMP.PingMonitor
- All Implemented Interfaces:
Runnable
- Enclosing class:
FD_ICMP
Runs InetAddress.isReachable(). Each time the command fails, we increment num_tries. If num_tries > max_tries, we
emit a SUSPECT message. If ping_dest changes, or we do receive traffic from ping_dest, we reset num_tries to 0.
- Version:
- $Id: FD_ICMP.java,v 1.9 2007/08/27 08:09:19 belaban Exp $
- Author:
- Bela Ban
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
PingMonitor
protected PingMonitor()
-
-
Method Details
-
run
public void run()- Specified by:
runin interfaceRunnable- Overrides:
runin classFD.Monitor
-