| |
|
| java.lang.Object java.lang.Thread org.jgroups.stack.UpHandler org.jgroups.protocols.VERIFY_SUSPECT
VERIFY_SUSPECT | public class VERIFY_SUSPECT extends Protocol implements Runnable(Code) | | Catches SUSPECT events traveling up the stack. Verifies that the suspected member is really dead. If yes,
passes SUSPECT event up the stack, otherwise discards it. Has to be placed somewhere above the FD layer and
below the GMS layer (receiver of the SUSPECT event). Note that SUSPECT events may be reordered by this protocol.
author: Bela Ban version: $Id: VERIFY_SUSPECT.java,v 1.21.2.1 2007/04/27 08:03:52 belaban Exp $ |
Inner Class :public static class VerifyHeader extends Header implements Streamable | |
run | public void run()(Code) | | Will be started when a suspect is added to the suspects hashtable. Continually iterates over the
entries and removes entries whose time have elapsed. For each removed entry, a SUSPECT event is passed
up the stack (because elapsed time means verification of member's liveness failed). Computes the shortest
time to wait (min of all timeouts) and waits(time) msecs. Will be woken up when entry is removed (in case
of successful verification of that member's liveness). Terminates when no entry remains in the hashtable.
|
startTimer | void startTimer()(Code) | | |
verifySuspect | void verifySuspect(Address mbr)(Code) | | Sends ARE_YOU_DEAD message to suspected_mbr, wait for return or timeout
|
verifySuspectWithICMP | void verifySuspectWithICMP(Address suspected_mbr)(Code) | | |
Fields inherited from org.jgroups.stack.UpHandler | final protected Log log(Code)(Java Doc)
|
|
|
|