|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jgroups.protocols.FD.Monitor
org.jgroups.protocols.FD_ICMP.PingMonitor
protected class FD_ICMP.PingMonitor
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.
| Constructor Summary | |
|---|---|
protected |
FD_ICMP.PingMonitor()
|
| Method Summary | |
|---|---|
void |
run()
|
| Methods inherited from class org.jgroups.protocols.FD.Monitor |
|---|
toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected FD_ICMP.PingMonitor()
| Method Detail |
|---|
public void run()
run in interface java.lang.Runnablerun in class FD.Monitor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||