All Packages Class Hierarchy This Package Previous Next Index
Class JavaGroups.JavaStack.Protocols.FLUSH
java.lang.Object
|
+----JavaGroups.JavaStack.Protocol
|
+----JavaGroups.JavaStack.Protocols.FLUSH
- public class FLUSH
- extends Protocol
Flushes all pending multicasts out of the system (sending). Called by GMS before installing a new view.
Only the coordinator responds to a FLUSH request from the GMS: it mcasts a FLUSH_REQ to all members. When
a member receives a FLUSH_REQ, it performs the flushing (this involves passing a FLUSH event through the
protocol stack and the subsequent blocking of each layer until a VIEW_CHANGE is received) and returns a
FLUSH_RSP response. When all responses have been received (minus the ones from faulty members), a FLUSH_OK
event is passed up the stack (and received by the GMS layer).
-
FLUSH()
-
-
Down(Event)
- An event is to be sent down the stack.
-
GetName()
-
-
Reset()
- Just remove if you don't need to reset any state
-
SetProperties(Properties)
- Configures the protocol initially.
-
Up(Event)
- An event was received from the layer below.
FLUSH
public FLUSH()
GetName
public String GetName()
- Overrides:
- GetName in class Protocol
SetProperties
public boolean SetProperties(Properties props)
- Configures the protocol initially.
- Overrides:
- SetProperties in class Protocol
Reset
public void Reset()
- Just remove if you don't need to reset any state
- Overrides:
- Reset in class Protocol
Up
public void Up(Event evt)
- An event was received from the layer below.
- Overrides:
- Up in class Protocol
Down
public void Down(Event evt)
- An event is to be sent down the stack.
- Overrides:
- Down in class Protocol
All Packages Class Hierarchy This Package Previous Next Index