org.jgroups.protocols
Class VERIFY_SUSPECT
- Runnable
public class VERIFY_SUSPECT
implements Runnable
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.
down_handler , down_prot , down_queue , down_thread , down_thread_prio , log , observer , props , stack , up_handler , up_prot , up_queue , up_thread , up_thread_prio |
destroy , down , getDownProtocol , getDownQueue , getName , getProperties , getUpProtocol , getUpQueue , handleSpecialDownEvent , init , passDown , passUp , providedDownServices , providedUpServices , receiveDownEvent , receiveUpEvent , requiredDownServices , requiredUpServices , setDownProtocol , setObserver , setProperties , setPropertiesInternal , setProtocolStack , setUpProtocol , start , startDownHandler , startUpHandler , stop , stopInternal , up |
run
public void run()
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.
Copyright B) 2001,2002 www.jgroups.com . All Rights Reserved.