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.util |
Provides useful functionality which cannot be assigned to any particular other package.
|
Modifier and Type | Method and Description |
---|---|
Object |
JChannel.peek(long timeout)
Just peeks at the next message, view or block.
|
abstract Object |
Channel.peek(long timeout)
Deprecated.
Use a
Receiver instead, this method will not be available in JGroups 3.0 |
Object |
JChannel.receive(long timeout)
Deprecated.
Use a
Receiver instead |
abstract Object |
Channel.receive(long timeout)
Deprecated.
Use a
Receiver instead |
Modifier and Type | Method and Description |
---|---|
Object |
MessageDispatcher.sendMessage(Message msg,
int mode,
long timeout)
Deprecated.
|
Object |
MessageDispatcher.sendMessage(Message msg,
RequestOptions opts) |
<T> NotifyingFuture<T> |
MessageDispatcher.sendMessageWithFuture(Message msg,
int mode,
long timeout)
Deprecated.
|
<T> NotifyingFuture<T> |
MessageDispatcher.sendMessageWithFuture(Message msg,
RequestOptions options) |
Modifier and Type | Method and Description |
---|---|
static void |
Util.blockUntilViewsReceived(long timeout,
long interval,
Channel... channels)
Blocks until all channels have the same view
|
T |
Promise.getResultWithTimeout(long timeout)
Blocks until a result is available, or timeout milliseconds have elapsed
|
Object |
Queue.peek(long timeout)
returns the first object on the queue, without removing it.
|
Object |
Queue.remove(long timeout)
Removes 1 element from the head.
|
Object |
Queue.removeWait(long timeout) |
boolean |
AckCollector.waitForAllAcks(long timeout) |
Copyright © 2013 JBoss, a division of Red Hat. All Rights Reserved.