Uses of Class org.jgroups.Event

Uses in package org.jgroups

Fields of type org.jgroups.Event

Event
Event

Methods with parameter type org.jgroups.Event

void
Access to event mechanism of channels.
void
Sends a message through the protocol stack if the stack is available
void
Callback method
Called by the ProtocolStack when a message is received.
void
Invoked for all channel events except connection management and state transfer.

Uses in package org.jgroups.jmx

Methods with parameter type org.jgroups.Event

void
void

Uses in package org.jgroups.debug

Methods with parameter type org.jgroups.Event

boolean
ProtocolView.down(Event evt, int num_evts)
boolean
boolean
void
void
void
boolean
ProtocolView.up(Event evt, int num_evts)

Uses in package org.jgroups.protocols.pbcast

Methods with parameter type org.jgroups.Event

void
FD.down(Event evt)
An event is to be sent down the stack.
void
GMS.down(Event evt)
void
Callback.
void
void
void
boolean
boolean
boolean
void
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
FD.up(Event evt)
An event was received from the layer below.
void
GMS.up(Event evt)
void
Callback.
void
void
void

Uses in package org.jgroups.util

Methods with parameter type org.jgroups.Event

String

Uses in package org.jgroups.protocols

Methods with parameter type org.jgroups.Event

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
Processes Event going down in the stack
void
We compress the payload if it is larger than min_size.
void
void
An event is to be sent down the stack.
void
void
void
Caller by the layer above this layer.
void
An event is to be sent down the stack.
void
void
void
FC.down(Event evt)
void
FD.down(Event evt)
void
void
An event is to be sent down the stack.
void
An event is to be sent down the stack.
void
void
Checs if it can send the message, else puts the message in the queue.
void
Fragment a packet if larger than frag_size (add a header).
void
Fragment a packet if larger than frag_size (add a header).
void
void
void
JMS.down(Event evt)
Called by the protocol above this.
void
Caller by the layer above this layer.
void
An event is to be sent down the stack.
void
An event is to be sent down the stack.
void
void
void
void
Callback.
void
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
void
Caller by the layer above this layer.
void
void
void
An event is to be sent down the stack.
void
An event is to be sent down the stack.
void
void
void
An event is to be sent down the stack.
void
An event is to be sent down the stack.
void
TOTAL.down(Event event)
An event is to be sent down the stack.
void
handles an Event coming down the Protocol Stack
void
TP.down(Event evt)
Caller by the layer above this layer.
void
void
Caller by the layer above this layer.
void
Caller by the layer above this layer.
void
An event is to be sent down the stack.
void
An event is to be sent down the stack.
void
Sent to destination(s) using the WAN pipe.
boolean
Callback.
boolean
If Event.MSG type is received count is incremented by one, and message is passed to the down_prot.
boolean
Callback.
boolean
boolean
Callback.
void
Handle down event, if it is not a Event.MSG type.
boolean
Callback.
boolean
Callback.
boolean
Callback.
void
boolean
Handle down event.
void
boolean
boolean
Callback.
boolean
If Event.MSG type is received message, number of received messages from the sender is incremented.
boolean
Callback.
boolean
boolean
Callback.
boolean
Callback.
boolean
Callback.
boolean
Callback.
boolean
Handle up event.
void
We need to receive view changes concurrent to messages on the down events: a message might blocks, e.g.
void
The default handling adds the event to the down-queue where events are handled in order of addition by a thread.
void
void
BSH.up(Event evt)
void
Processes Event going up through the stack
void
If there is no header, we pass the message up.
void
DELAY.up(Event evt)
void
An event was received from the layer below.
void
void
DUMMY.up(Event evt)
void
An event was received from the layer below.
void
void
void
FC.up(Event evt)
void
FD.up(Event evt)
void
void
An event was received from the layer below.
void
An event was received from the layer below.
void
void
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
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
HDRS.up(Event evt)
void
void
MERGE.up(Event evt)
An event was received from the layer below.
void
void
void
void
Callback.
void
Discards Messages with the wrong partition number and sets local partition number if it receives a COMMAND Header
void
PERF.up(Event evt)
void
An event was received from the layer below.
void
void
void
An event was received from the layer below.
void
QUEUE.up(Event evt)
Queues or passes up events.
void
Adds upcoming messages to the messages List<\code> where the messagesHandler<\code> retrieves them.
void
SIZE.up(Event evt)
void
SMACK.up(Event evt)
void
An event was received from the layer below.
void
STATS.up(Event evt)
An event was received from the layer below.
void
TOTAL.up(Event event)
An event was received from the layer below.
void
handles an Event coming up the Protocol Stack
void
TP.up(Event evt)
handle the UP event.
void
TRACE.up(Event evt)
void
handle the UP event.
void
An event was received from the layer below.
void
void
void
An event was received from the layer below.

Uses in package org.jgroups.blocks

Methods with parameter type org.jgroups.Event

void
Callback.

Uses in package org.jgroups.stack

Methods with parameter type org.jgroups.Event

void
This message is not originated by this layer, therefore we can just pass it down without having to go through the request correlator.
void
An event is to be sent down the stack.
void
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
Handle down event.
boolean
Handle down event.
boolean
These are special internal events that should not be handled by protocols
boolean
Handle up event.
boolean
Handle up event.
void
Causes the event to be forwarded to the next layer down in the hierarchy.Typically called by the implementation of Down (when done).
boolean
Called when an event is about to be passed down to the next lower protocol.
void
Causes the event to be forwarded to the next layer up in the hierarchy.
boolean
Called when an event is about to be passed up to the next higher protocol.
void
Internal method, should not be called by clients.
void
Internal method, should not be called by clients.
void
void
Handle an event coming from the layer above
void
An event was received from the layer below.
void
boolean
ProtocolObserver.up(Event evt, int num_evts)
Called when an event is about to be dispatched to the protocol (before it is dispatched).

Copyright B) 1998-2005 Bela Ban. All Rights Reserved.