org.jgroups.protocols
Class MERGE
public
class
MERGE
extends Protocol
implements Runnable
Simple and stupid MERGE protocol (does not take into account state transfer).
Periodically mcasts a HELLO message with its own address. When a HELLO message is
received from a member that has the same group (UDP discards all messages with a group
name different that our own), but is not currently in the group, a MERGE event is sent
up the stack. The protocol starts working upon receiving a View in which it is the coordinator.
Author: Gianluca Collot, Jan 2001
public void down(
Event evt)
public String getName()
public void run()
If IP multicast: periodically mcast a HELLO message
If gossiping: periodically retrieve the membership. Any members not part of our
own membership are merged (passing MERGE event up).
public boolean setProperties(Properties props)
public void start()
public void stop()
public void up(
Event evt)
Copyright ? 1998-2005 Bela Ban. All Rights Reserved.