Package | Description |
---|---|
org.jgroups.blocks |
Provides building blocks that are layered on top of channels.
|
org.jgroups.blocks.mux |
Modifier and Type | Interface and Description |
---|---|
interface |
AsyncRequestHandler
Provides a way to invoke requests asynchronously
|
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).
|
Modifier and Type | Field and Description |
---|---|
protected RequestHandler |
MessageDispatcher.req_handler |
protected RequestHandler |
RequestCorrelator.request_handler
The handler for the incoming requests.
|
Modifier and Type | Method and Description |
---|---|
protected RequestCorrelator |
MessageDispatcher.createRequestCorrelator(Protocol transport,
RequestHandler handler,
Address local_addr) |
void |
RequestCorrelator.setRequestHandler(RequestHandler handler) |
void |
MessageDispatcher.setRequestHandler(RequestHandler rh) |
Constructor and Description |
---|
MessageDispatcher(Channel channel,
MessageListener l,
MembershipListener l2,
RequestHandler req_handler) |
MessageDispatcher(Channel channel,
RequestHandler req_handler) |
RequestCorrelator(Protocol transport,
RequestHandler handler,
Address local_addr) |
RequestCorrelator(short corr_id,
Protocol transport,
RequestHandler handler,
Address local_addr)
Constructor.
|
Modifier and Type | Class and Description |
---|---|
class |
MuxMessageDispatcher
A multiplexed message dispatcher.
|
class |
MuxRpcDispatcher
A multiplexed message dispatcher.
|
Modifier and Type | Method and Description |
---|---|
protected RequestCorrelator |
MuxMessageDispatcher.createRequestCorrelator(Protocol transport,
RequestHandler handler,
Address localAddr) |
protected RequestCorrelator |
MuxRpcDispatcher.createRequestCorrelator(Protocol transport,
RequestHandler handler,
Address localAddr) |
Constructor and Description |
---|
MuxMessageDispatcher(short scopeId,
Channel channel,
MessageListener messageListener,
MembershipListener membershipListener,
RequestHandler handler) |
MuxRequestCorrelator(short id,
Protocol transport,
RequestHandler handler,
Address localAddr) |
Copyright © 1998-2020 Red Hat. All Rights Reserved.