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.blocks.mux | |
org.jgroups.demos |
Provides demonstrations of JGroups functionality.
|
org.jgroups.demos.wb |
A distributed whiteboard applet implemented using JGroups.
|
org.jgroups.protocols |
Provides implementations of transport protocols which are
responsible for sending and receiving messages to/from the network.
|
org.jgroups.util |
Provides useful functionality which cannot be assigned to any particular other package.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ExtendedMessageListener
ExtendedMessageListener has additional callbacks for:
partial state transfer - http://jira.jboss.com/jira/browse/JGRP-118
streaming state transfer - http://jira.jboss.com/jira/browse/JGRP-89
|
interface |
ExtendedReceiver
Extends Receiver, plus the partial state transfer methods.
|
interface |
Receiver
Defines the callbacks that are invoked when messages, views etc are received on a channel
|
Modifier and Type | Class and Description |
---|---|
class |
ExtendedReceiverAdapter |
class |
ReceiverAdapter |
Modifier and Type | Class and Description |
---|---|
class |
DistributedQueue
Provides the abstraction of a java.util.LinkedList that is replicated at several
locations.
|
class |
DistributedTree
A tree-like structure that is replicated across several members.
|
class |
MessageListenerAdapter
This class provides multiplexing possibilities for
MessageListener
instances. |
class |
NotificationBus
Deprecated.
Will be pulled in 3.0, use a JChannel directly instead
|
class |
ReplicatedHashMap<K extends Serializable,V extends Serializable>
Subclass of a
ConcurrentHashMap with replication
of the contents across a cluster. |
class |
ReplicatedTree
A tree-like structure that is replicated across several members.
|
class |
VotingAdapter
Voting adapter provides a voting functionality for an application.
|
Modifier and Type | Field and Description |
---|---|
protected MessageListener |
PullPushAdapter.listener
Deprecated.
|
protected MessageListener[] |
MessageListenerAdapter.messageListenersCache |
protected MessageListener |
MessageDispatcher.msg_listener |
protected MessageListener |
MessageListenerAdapter.stateListener |
Modifier and Type | Method and Description |
---|---|
MessageListener |
PullPushAdapter.getListener()
Deprecated.
|
MessageListener |
MessageDispatcher.getMessageListener()
Gives access to the currently configured MessageListener.
|
Modifier and Type | Method and Description |
---|---|
void |
MessageListenerAdapter.addMessageListener(MessageListener listener)
Add message listener to this adapter.
|
void |
PullPushAdapter.registerListener(Serializable identifier,
MessageListener l)
Deprecated.
Sets a listener to messages with a given identifier.
|
void |
MessageListenerAdapter.removeMessageListener(MessageListener listener)
Remove message listener from this adapter.
|
void |
PullPushAdapter.setListener(MessageListener l)
Deprecated.
|
void |
MessageDispatcher.setMessageListener(MessageListener l) |
void |
MessageListenerAdapter.setStateListener(MessageListener listener)
Register
listener for state notification events. |
Constructor and Description |
---|
MuxMessageDispatcher(short scopeId,
Channel channel,
MessageListener messageListener,
MembershipListener membershipListener,
RequestHandler handler) |
MuxRpcDispatcher(short scopeId,
Channel channel,
MessageListener messageListener,
MembershipListener membershipListener,
Object serverObject) |
MuxRpcDispatcher(short scopeId,
Channel channel,
MessageListener messageListener,
MembershipListener membershipListener,
Object serverObject,
MethodLookup method_lookup) |
Modifier and Type | Class and Description |
---|---|
class |
Draw
Shared whiteboard, each new instance joins the same group.
|
class |
QuoteServer
Example of a replicated quote server.
|
class |
RelayDemoRpc
Demos RELAY.
|
class |
ViewDemo
Demos the reception of views using a PullPushAdapter.
|
Modifier and Type | Class and Description |
---|---|
class |
Whiteboard
Shared whiteboard: members are represented by rectangles that contain their names and the OS/arch of
the machine they are working on.
|
Modifier and Type | Class and Description |
---|---|
protected class |
RELAY.Receiver |
Modifier and Type | Class and Description |
---|---|
class |
MyReceiver
Simple receiver which buffers all messages
|
Copyright © 2013 JBoss, a division of Red Hat. All Rights Reserved.