Package | Description |
---|---|
org.jgroups |
Provides top-level public JGroups classes such as Channel, Message, etc.
|
org.jgroups.blocks |
Provides building blocks that are layered on top of channels.
|
org.jgroups.debug |
Provides debug support, including testing, profiling, and a graphical view of a protocol stack.
|
org.jgroups.jmx | |
org.jgroups.mux | |
org.jgroups.protocols |
Provides implementations of transport protocols which are
responsible for sending and receiving messages to/from the network.
|
org.jgroups.protocols.obsolete | |
org.jgroups.protocols.pbcast |
Supports probabilistic broadcasts.
|
org.jgroups.stack |
Support for managing protocol stacks.
|
org.jgroups.util |
Provides useful functionality which cannot be assigned to any particular other package.
|
Modifier and Type | Field and Description |
---|---|
static Event |
Event.FIND_INITIAL_MBRS_EVT |
static Event |
Event.GET_DIGEST_EVT |
Modifier and Type | Method and Description |
---|---|
void |
Channel.down(Event evt)
Access to event mechanism of channels.
|
void |
JChannel.down(Event evt)
Sends a message through the protocol stack if the stack is available
|
void |
UpHandler.up(Event evt)
Invoked for all channel events except connection management and state transfer.
|
void |
JChannel.up(Event evt)
Callback method
Called by the ProtocolStack when a message is received. |
Modifier and Type | Method and Description |
---|---|
void |
RequestCorrelator.receive(Event evt)
Callback.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ProtocolView.down(Event evt,
int num_evts) |
boolean |
ProtocolView.passDown(Event evt) |
boolean |
ProtocolView.passUp(Event evt) |
void |
Simulator.receive(Event evt) |
void |
Simulator.Receiver.receive(Event evt) |
void |
Simulator.send(Event evt) |
boolean |
ProtocolView.up(Event evt,
int num_evts) |
Modifier and Type | Method and Description |
---|---|
void |
JChannel.down(Event evt) |
void |
JChannelMBean.down(Event evt)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
MuxChannel.down(Event evt) |
void |
Multiplexer.up(Event evt) |
Modifier and Type | Method and Description |
---|---|
boolean |
QUEUE.Observer.addingToDownVector(Event evt,
int num_events)
Called before event is added.
|
boolean |
QUEUE.Observer.addingToUpVector(Event evt,
int num_events)
Called before event is added.
|
void |
Discovery.down(Event evt)
An event is to be sent down the stack.
|
void |
FC.down(Event evt) |
void |
FD.down(Event evt) |
void |
FD_SOCK.down(Event evt) |
void |
FRAG.down(Event evt)
Fragment a packet if larger than frag_size (add a header).
|
void |
FRAG2.down(Event evt)
Fragment a packet if larger than frag_size (add a header).
|
void |
MERGE2.down(Event evt) |
void |
SEQUENCER.down(Event evt) |
void |
STATS.down(Event evt) |
void |
TP.down(Event evt)
Caller by the layer above this layer.
|
void |
UNICAST.down(Event evt) |
void |
VIEW_SYNC.down(Event evt) |
void |
AUTH.down(Event evt)
An event is to be sent down the stack.
|
void |
CAUSAL.down(Event evt)
Processes Event going down in the stack
|
void |
COMPRESS.down(Event evt)
We compress the payload if it is larger than
min_size . |
void |
DELAY.down(Event evt) |
void |
DISCARD.down(Event evt) |
void |
DUMMY.down(Event evt) |
void |
DUMMY_TP.down(Event evt)
Caller by the layer above this layer.
|
void |
ENCRYPT.down(Event evt) |
void |
EXAMPLE.down(Event evt) |
void |
FD_PID.down(Event evt) |
void |
FD_PROB.down(Event evt) |
void |
FD_SIMPLE.down(Event evt) |
void |
FLOWCONTROL.down(Event evt)
Checs if it can send the message, else puts the message in the queue.
|
void |
HDRS.down(Event evt) |
void |
HTOTAL.down(Event evt) |
void |
JMS.down(Event evt)
Called by the protocol above this.
|
void |
LOOPBACK.down(Event evt)
Caller by the layer above this layer.
|
void |
LOSS.down(Event evt) |
void |
MERGE.down(Event evt) |
void |
MERGE3.down(Event evt) |
void |
MERGEFAST.down(Event evt) |
void |
NAKACK.down(Event evt)
Callback.
|
void |
PARTITIONER.down(Event evt)
Adds to Messages a Header with the local partitin number and if receives a SET_PARTITIONS Event sends
a new Message with a PartitionerHeader set to COMMAND that carries the Hashtable
|
void |
PERF.down(Event evt) |
void |
PERF_TP.down(Event evt)
Caller by the layer above this layer.
|
void |
PIGGYBACK.down(Event evt) |
void |
PRINTMETHODS.down(Event evt) |
void |
PRINTOBJS.down(Event evt) |
void |
QUEUE.down(Event evt) |
void |
SIZE.down(Event evt) |
void |
SMACK.down(Event evt) |
void |
STATE_TRANSFER.down(Event evt) |
void |
TOTAL.down(Event event)
Process an event coming from the layer above
|
void |
TOTAL_OLD.down(Event evt)
handles an Event coming down the Protocol Stack
|
void |
TRACE.down(Event evt) |
void |
TUNNEL.down(Event evt)
Caller by the layer above this layer.
|
void |
WANPIPE.down(Event evt)
Sent to destination(s) using the WAN pipe.
|
protected void |
BasicTCP.handleDownEvent(Event evt) |
protected void |
TP.handleDownEvent(Event evt) |
boolean |
GmsImpl.handleDownEvent(Event evt) |
boolean |
GMS.handleDownEvent(Event evt)
Callback.
|
boolean |
DEADLOCK.handleDownEvent(Event evt)
Callback.
|
boolean |
FLOW_CONTROL.handleDownEvent(Event evt)
If Event.MSG type is received count is incremented by one,
and message is passed to the down_prot.
|
boolean |
FLUSH.handleDownEvent(Event evt)
Callback.
|
protected void |
JMS.handleDownEvent(Event evt)
Handle down event, if it is not a Event.MSG type.
|
boolean |
MessageProtocolEXAMPLE.handleDownEvent(Event evt)
Callback.
|
boolean |
RpcProtocolEXAMPLE.handleDownEvent(Event evt)
Callback.
|
boolean |
STABLE.handleDownEvent(Event evt)
Callback.
|
boolean |
TOTAL_TOKEN.handleDownEvent(Event evt) |
boolean |
ClientGmsImpl.handleUpEvent(Event evt) |
boolean |
GmsImpl.handleUpEvent(Event evt) |
boolean |
GMS.handleUpEvent(Event evt)
Callback.
|
boolean |
DEADLOCK.handleUpEvent(Event evt)
Callback.
|
boolean |
FLOW_CONTROL.handleUpEvent(Event evt)
If Event.MSG type is received message, number of received
messages from the sender is incremented.
|
boolean |
FLUSH.handleUpEvent(Event evt)
Callback.
|
boolean |
MessageProtocolEXAMPLE.handleUpEvent(Event evt)
Callback.
|
boolean |
RpcProtocolEXAMPLE.handleUpEvent(Event evt)
Callback.
|
boolean |
STABLE.handleUpEvent(Event evt)
Callback.
|
boolean |
TOTAL_TOKEN.handleUpEvent(Event evt) |
protected void |
FC.receiveDownEvent(Event evt)
We need to receive view changes concurrent to messages on the down events: a message might blocks, e.g.
|
void |
GMS.receiveDownEvent(Event evt) |
void |
FLUSH.receiveDownEvent(Event evt)
The default handling adds the event to the down-queue where events are handled in order of
addition by a thread.
|
void |
Discovery.up(Event evt)
An event was received from the layer below.
|
void |
FC.up(Event evt) |
void |
FD.up(Event evt) |
void |
FD_SOCK.up(Event evt) |
void |
FRAG.up(Event evt)
If event is a message, if it is fragmented, re-assemble fragments into big message and pass up the stack.
|
void |
FRAG2.up(Event evt)
If event is a message, if it is fragmented, re-assemble fragments into big message and pass up
the stack.
|
void |
MERGE2.up(Event evt) |
void |
MPING.up(Event evt) |
void |
SEQUENCER.up(Event evt) |
void |
STATS.up(Event evt) |
void |
TP.up(Event evt)
handle the UP event.
|
void |
UNICAST.up(Event evt) |
void |
VIEW_SYNC.up(Event evt) |
void |
AUTH.up(Event evt)
An event was received from the layer below.
|
void |
BSH.up(Event evt) |
void |
CAUSAL.up(Event evt)
Processes Event going up through the stack
|
void |
COMPRESS.up(Event evt)
If there is no header, we pass the message up.
|
void |
DELAY.up(Event evt) |
void |
DISCARD.up(Event evt) |
void |
DUMMY.up(Event evt) |
void |
ENCRYPT.up(Event evt) |
void |
EXAMPLE.up(Event evt) |
void |
FD_ICMP.up(Event evt) |
void |
FD_PID.up(Event evt) |
void |
FD_PROB.up(Event evt) |
void |
FD_SIMPLE.up(Event evt) |
void |
FLOWCONTROL.up(Event evt)
Checs if up messages are from myaddr and in the case sends down queued messages or
decremnts sentMsgs if there are no queued messages
|
void |
HDRS.up(Event evt) |
void |
HTOTAL.up(Event evt) |
void |
MERGE.up(Event evt) |
void |
MERGE3.up(Event evt) |
void |
MERGEFAST.up(Event evt) |
void |
NAKACK.up(Event evt)
Callback.
|
void |
PARTITIONER.up(Event evt)
Discards Messages with the wrong partition number and sets local partition number if
it receives a COMMAND Header
|
void |
PERF.up(Event evt) |
void |
PERF_TP.up(Event evt) |
void |
PIGGYBACK.up(Event evt) |
void |
PRINTMETHODS.up(Event evt) |
void |
PRINTOBJS.up(Event evt) |
void |
QUEUE.up(Event evt)
Queues or passes up events.
|
void |
SHUFFLE.up(Event evt)
Adds upcoming messages to the
messages List<\code> where the |
void |
SIZE.up(Event evt) |
void |
SMACK.up(Event evt) |
void |
STATE_TRANSFER.up(Event evt) |
void |
TOTAL.up(Event event)
Process an event coming from the layer below
|
void |
TOTAL_OLD.up(Event evt)
handles an Event coming up the Protocol Stack
|
void |
TRACE.up(Event evt) |
void |
VERIFY_SUSPECT.up(Event evt) |
void |
VIEW_ENFORCER.up(Event evt) |
Modifier and Type | Method and Description |
---|---|
void |
ENCRYPT1_4.down(Event evt) |
void |
ENCRYPT1_4.up(Event evt) |
Modifier and Type | Method and Description |
---|---|
void |
FLUSH.down(Event evt) |
void |
GMS.down(Event evt) |
void |
NAKACK.down(Event evt)
Callback.
|
void |
STABLE.down(Event evt) |
void |
STATE_TRANSFER.down(Event evt) |
void |
STREAMING_STATE_TRANSFER.down(Event evt) |
void |
FD.down(Event evt) |
void |
PBCAST.down(Event evt) |
boolean |
GmsImpl.handleUpEvent(Event evt) |
boolean |
ClientGmsImpl.handleUpEvent(Event evt)
Returns immediately.
|
void |
GMS.receiveUpEvent(Event evt)
This method is overridden to avoid hanging on getDigest(): when a JOIN is received, the coordinator needs
to retrieve the digest from the NAKACK layer.
|
void |
FLUSH.up(Event evt) |
void |
GMS.up(Event evt) |
void |
NAKACK.up(Event evt)
Callback.
|
void |
STABLE.up(Event evt) |
void |
STATE_TRANSFER.up(Event evt) |
void |
STREAMING_STATE_TRANSFER.up(Event evt) |
void |
FD.up(Event evt) |
void |
PBCAST.up(Event evt) |
Modifier and Type | Method and Description |
---|---|
void |
ProtocolStack.down(Event evt) |
void |
Protocol.down(Event evt)
An event is to be sent down the stack.
|
void |
MessageProtocol.down(Event evt)
This message is not originated by this layer, therefore we can just
pass it down without having to go through the request correlator.
|
boolean |
ProtocolObserver.down(Event evt,
int num_evts)
Called when an event is about to be dispatched to the protocol (before it is dispatched).
|
boolean |
RpcProtocol.handleDownEvent(Event evt)
Handle down event.
|
protected boolean |
MessageProtocol.handleDownEvent(Event evt)
Handle down event.
|
protected boolean |
Protocol.handleSpecialDownEvent(Event evt)
These are special internal events that should not be handled by protocols
|
boolean |
RpcProtocol.handleUpEvent(Event evt)
Handle up event.
|
protected boolean |
MessageProtocol.handleUpEvent(Event evt)
Handle up event.
|
void |
Protocol.passDown(Event evt)
Causes the event to be forwarded to the next layer down in the hierarchy.Typically called
by the implementation of
Down (when done). |
boolean |
ProtocolObserver.passDown(Event evt)
Called when an event is about to be passed down to the next lower protocol.
|
void |
Protocol.passUp(Event evt)
Causes the event to be forwarded to the next layer up in the hierarchy.
|
boolean |
ProtocolObserver.passUp(Event evt)
Called when an event is about to be passed up to the next higher protocol.
|
protected void |
Protocol.receiveDownEvent(Event evt)
Internal method, should not be called by clients.
|
protected void |
ProtocolStack.receiveUpEvent(Event evt) |
protected void |
Protocol.receiveUpEvent(Event evt)
Internal method, should not be called by clients.
|
void |
ProtocolStack.up(Event evt) |
void |
Protocol.up(Event evt)
An event was received from the layer below.
|
void |
MessageProtocol.up(Event evt)
Handle an event coming from the layer above
|
boolean |
ProtocolObserver.up(Event evt,
int num_evts)
Called when an event is about to be dispatched to the protocol (before it is dispatched).
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
Util.printEvent(Event evt) |
Copyright ? 1998-2006 Bela Ban. All Rights Reserved.