org.jgroups.protocols.pbcast
Class PBCAST
- Runnable
public class PBCAST
implements Runnable
Implementation of probabilistic broadcast. Sends group messages via unreliable multicast. Gossips regularly to
a random subset of group members to retransmit missing messages. Gossiping is used both for bringing all
members to the same state (having received the same messages) and to garbage-collect messages seen by all members
(gc is piggybacked in gossip messages). See DESIGN for more details.
- Bela Ban
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 |
getName
public String getName()
- getName in interface Protocol
providedUpServices
public Vector providedUpServices()
- providedUpServices in interface Protocol
run
public void run()
Gossip thread. Sends gossips containing a message digest every gossip_interval msecs
setProperties
public boolean setProperties(Properties props)
Setup the Protocol instance acording to the configuration string
- setProperties in interface Protocol
stop
public void stop()
- stop in interface Protocol
Copyright B) 2001,2002 www.jgroups.com . All Rights Reserved.