public static enum AsyncQueue.AsyncResult extends Enum<AsyncQueue.AsyncResult>
Enum Constant and Description |
---|
COMPLETE |
EXPECTING_MORE |
INCOMPLETE |
TERMINATE |
Modifier and Type | Method and Description |
---|---|
ProcessorResult |
toProcessorResult() |
static AsyncQueue.AsyncResult |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AsyncQueue.AsyncResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AsyncQueue.AsyncResult COMPLETE
public static final AsyncQueue.AsyncResult INCOMPLETE
public static final AsyncQueue.AsyncResult EXPECTING_MORE
public static final AsyncQueue.AsyncResult TERMINATE
public static AsyncQueue.AsyncResult[] values()
for (AsyncQueue.AsyncResult c : AsyncQueue.AsyncResult.values()) System.out.println(c);
public static AsyncQueue.AsyncResult 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 nullpublic ProcessorResult toProcessorResult()
Copyright © 2015 Oracle Corporation. All rights reserved.