public static enum MessageFutureBag.BagResult extends Enum<MessageFutureBag.BagResult>
Enum Constant and Description |
---|
FAILED_WITH_ERRORS
All message futures have been satisfied, but all failed with
an
OfmError reply. |
FAILED_WITH_EXCEPTIONS
All message futures have been satisfied, but all failed with either
an
OfmError reply or an exception (at least one). |
SUCCESS
All message futures have been satisfied successfully.
|
SUCCESS_WITH_ERRORS
All message futures have been satisfied; some successfully, but
at least one failed with an
OfmError reply. |
SUCCESS_WITH_EXCEPTIONS
All message futures have been satisfied; some successfully, but
at least one failed with an exception.
|
TIMEOUT
A time-out occurred waiting for the futures to be satisfied.
|
UNSATISFIED
One or more message futures have still not been satisfied.
|
Modifier and Type | Method and Description |
---|---|
static MessageFutureBag.BagResult |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MessageFutureBag.BagResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MessageFutureBag.BagResult UNSATISFIED
public static final MessageFutureBag.BagResult SUCCESS
public static final MessageFutureBag.BagResult SUCCESS_WITH_ERRORS
OfmError
reply.public static final MessageFutureBag.BagResult SUCCESS_WITH_EXCEPTIONS
OfmError
reply.public static final MessageFutureBag.BagResult FAILED_WITH_ERRORS
OfmError
reply.public static final MessageFutureBag.BagResult FAILED_WITH_EXCEPTIONS
OfmError
reply or an exception (at least one).public static final MessageFutureBag.BagResult TIMEOUT
public static MessageFutureBag.BagResult[] values()
for (MessageFutureBag.BagResult c : MessageFutureBag.BagResult.values()) System.out.println(c);
public static MessageFutureBag.BagResult 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 © 2015. All Rights Reserved.