org.jgroups.protocols
Class GmsImpl
java.lang.Object
org.jgroups.protocols.GmsImpl
public abstract class GmsImpl
extends java.lang.Object
handleDownEvent
public boolean handleDownEvent(Event evt)
handleJoin
public boolean handleJoin(Address mbr)
handleLeave
public void handleLeave(Address mbr,
boolean suspected)
handleMerge
public View handleMerge(ViewId other_view,
Vector other_members)
handleSuspect
public void handleSuspect(Address mbr)
handleUpEvent
public boolean handleUpEvent(Event evt)
handleViewChange
public void handleViewChange(ViewId new_view,
Vector mbrs)
iWouldBeCoordinator
protected boolean iWouldBeCoordinator(Vector new_mbrs)
Returns potential coordinator based on lexicographic ordering of member addresses. Another
approach would be to keep track of the primary partition and return the first member if we
are the primary partition.
leave
public void leave(Address mbr)
merge
public void merge(Vector coords)
suspect
public void suspect(Address mbr)
wrongMethod
protected void wrongMethod(String method_name)
Copyright B) 2001,2002 www.jgroups.com . All Rights Reserved.