程序包 | 说明 |
---|---|
com.fr.third.jgroups |
Provides top-level public JGroups classes such as Channel, Message, etc.
|
com.fr.third.jgroups.blocks |
Provides building blocks that are layered on top of channels.
|
com.fr.third.jgroups.blocks.mux | |
com.fr.third.jgroups.demos |
Provides demonstrations of JGroups functionality.
|
com.fr.third.jgroups.fork |
限定符和类型 | 字段和说明 |
---|---|
protected java.util.Set<ChannelListener> |
Channel.channel_listeners |
限定符和类型 | 方法和说明 |
---|---|
void |
Channel.addChannelListener(ChannelListener listener)
Adds a ChannelListener instance that will be notified when a channel event such as connect,
disconnect or close occurs.
|
void |
Channel.removeChannelListener(ChannelListener listener)
Removes a ChannelListener previously installed
|
限定符和类型 | 类和说明 |
---|---|
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).
|
限定符和类型 | 字段和说明 |
---|---|
protected java.util.Set<ChannelListener> |
MessageDispatcher.channel_listeners |
限定符和类型 | 方法和说明 |
---|---|
void |
MessageDispatcher.addChannelListener(ChannelListener l)
Adds a new channel listener to be notified on the channel's state change.
|
void |
MessageDispatcher.removeChannelListener(ChannelListener l) |
限定符和类型 | 类和说明 |
---|---|
class |
MuxMessageDispatcher
A multiplexed message dispatcher.
|
class |
MuxRpcDispatcher
A multiplexed message dispatcher.
|
限定符和类型 | 类和说明 |
---|---|
class |
Draw
Shared whiteboard, each new instance joins the same group.
|
限定符和类型 | 类和说明 |
---|---|
class |
ForkChannel
Implementation of a ForkChannel, which is a light-weight channel.
|