| |
|
| java.lang.Object java.lang.Thread org.jgroups.stack.UpHandler org.jgroups.protocols.MERGE
MERGE | public class MERGE extends Protocol implements Runnable(Code) | | 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 |
Inner Class :public static class MergeHeader extends Header | |
is_coord | boolean is_coord(Code) | | |
is_server | boolean is_server(Code) | | |
router_port | int router_port(Code) | | |
run | public void run()(Code) | | 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).
|
Fields inherited from org.jgroups.stack.UpHandler | final protected Log log(Code)(Java Doc)
|
|
|
|