public static enum MessageFuture.Result extends Enum<MessageFuture.Result>
| Enum Constant and Description |
|---|
EXCEPTION
The message request failed due to an exception; the cause
is available via
MessageFuture.cause(). |
OFM_ERROR
The message request failed; the
error message
is available via MessageFuture.reply(). |
SUCCESS
The message request was a success; the reply message is
available via
MessageFuture.reply(). |
SUCCESS_NO_REPLY
The message request was a success; there is no associated reply.
|
UNSATISFIED
The message future has not yet been satisfied.
|
| Modifier and Type | Method and Description |
|---|---|
static MessageFuture.Result |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MessageFuture.Result[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MessageFuture.Result UNSATISFIED
public static final MessageFuture.Result SUCCESS
MessageFuture.reply().public static final MessageFuture.Result SUCCESS_NO_REPLY
public static final MessageFuture.Result OFM_ERROR
error message
is available via MessageFuture.reply().public static final MessageFuture.Result EXCEPTION
MessageFuture.cause().public static MessageFuture.Result[] values()
for (MessageFuture.Result c : MessageFuture.Result.values()) System.out.println(c);
public static MessageFuture.Result valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullCopyright © 2014. All Rights Reserved.