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.demos |
Provides demonstrations of JGroups functionality.
|
org.jgroups.fork |
Modifier and Type | Field and Description |
---|---|
protected Set<ChannelListener> |
JChannel.channel_listeners |
Modifier and Type | Method and Description |
---|---|
void |
Channel.addChannelListener(ChannelListener listener)
Deprecated.
Adds a ChannelListener instance that will be notified when a channel event such as connect,
disconnect or close occurs.
|
JChannel |
JChannel.addChannelListener(ChannelListener listener)
Adds a ChannelListener that will be notified when a connect, disconnect or close occurs
|
void |
Channel.removeChannelListener(ChannelListener listener)
Deprecated.
Removes a ChannelListener previously installed
|
JChannel |
JChannel.removeChannelListener(ChannelListener listener) |
Modifier and Type | Method and Description |
---|---|
protected JChannel |
JChannel.notifyListeners(Consumer<ChannelListener> func,
String msg) |
Modifier and Type | Class and Description |
---|---|
class |
MessageDispatcher
Provides synchronous and asynchronous message sending with request-response
correlation; i.e., matching responses with the original request.
|
class |
RpcDispatcher
This class allows a programmer to invoke remote methods in all (or single) group members and optionally wait for
the return value(s).
An application will typically create a channel and layer the RpcDispatcher building block on top of it, which
allows it to dispatch remote methods (client role) and at the same time be called by other members (server role).
This class is derived from MessageDispatcher.
|
Modifier and Type | Class and Description |
---|---|
class |
Draw
Shared whiteboard, each new instance joins the same group.
|
Modifier and Type | Class and Description |
---|---|
class |
ForkChannel
Implementation of a ForkChannel, which is a light-weight channel.
|
Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.