org.jgroups.protocols.pbcast

Class PBCAST

public class PBCAST extends Protocol 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.

Author: Bela Ban

Method Summary
voiddown(Event evt)
StringgetName()
VectorprovidedUpServices()
voidrun()
Gossip thread.
booleansetProperties(Properties props)
Setup the Protocol instance acording to the configuration string
voidstop()
voidup(Event evt)

Method Detail

down

public void down(Event evt)

getName

public String getName()

providedUpServices

public Vector providedUpServices()

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

stop

public void stop()

up

public void up(Event evt)
Copyright ? 1998-2005 Bela Ban. All Rights Reserved.