org.jgroups.protocols
Class FD.Broadcaster
java.lang.Object
org.jgroups.protocols.FD.Broadcaster
- Enclosing class:
- FD
protected final class FD.Broadcaster
- extends java.lang.Object
Task that periodically broadcasts a list of suspected members to the group. Goal is not to lose
a SUSPECT message: since these are bcast unreliably, they might get dropped. The BroadcastTask makes
sure they are retransmitted until a view has been received which doesn't contain the suspected members
any longer. Then the task terminates.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
suspected_mbrs
protected final java.util.List<Address> suspected_mbrs
bcast_lock
protected final java.util.concurrent.locks.Lock bcast_lock
bcast_future
protected java.util.concurrent.Future<?> bcast_future
task
protected FD.BroadcastTask task
FD.Broadcaster
protected FD.Broadcaster()
getSuspectedMembers
protected java.util.List<Address> getSuspectedMembers()
startBroadcastTask
protected void startBroadcastTask(Address suspect)
- Starts a new task, or - if already running - adds the argument to the running task.
- Parameters:
suspect
-
stopBroadcastTask
protected void stopBroadcastTask()
addSuspectedMember
protected void addSuspectedMember(Address mbr)
- Adds a suspected member. Starts the task if not yet running
Copyright © 1998-2012 Bela Ban / Red Hat. All Rights Reserved.