All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object
|
+----JavaGroups.JavaStack.Protocol
|
+----JavaGroups.JavaStack.MessageProtocol
|
+----JavaGroups.JavaStack.RpcProtocol
|
+----JavaGroups.JavaStack.Protocols.STABLE
The only difference is that instead of using counters for an estimation of messages received from each member, we retrieve this actual information from the NAKACK layer (which must be present for the STABLE protocol to work).
sender
public STABLE()
public String GetName()
public Vector RequiredUpServices()
public boolean SetProperties(Properties props)
public void Gossip(ViewId view_id,
long round,
long highest_seqnos[],
boolean heard[],
Object sender)
sender
sender
heard_from array. This allows us to minimize the gossip msgs
for a given round as a member does not have to receive gossip msgs from each member,
but members pass gossips they've received from others on in their own gossips. E.g.
when a member P (of group {P,Q,R}) receives a gossip from R, its own gossip to Q might
be {R,P}. Q, who hasn't received a gossip from R, will not need to receive it anymore
as it is already sent by P. This simple scheme reduces the number of gossip messages
needed.
public void Stability(ViewId view_id,
long round,
long stability_vector[],
Object sender)
public boolean HandleUpEvent(Event evt)
Do not use PassUp in this method as the event is passed up
by default by the superclass after this method returns !
public boolean HandleDownEvent(Event evt)
Do not use PassDown in this method as the event is passed down
by default by the superclass after this method returns !
public void run()
All Packages Class Hierarchy This Package Previous Next Index