public static enum TaskProcessor.ProcessingResult extends java.lang.Enum<TaskProcessor.ProcessingResult>
Success processing finished successfullyTransientError processing failed, but shall be retried laterPermanentError processing failed, and is non recoverable| Enum Constant and Description |
|---|
Congestion |
PermanentError |
Success |
TransientError |
| Modifier and Type | Method and Description |
|---|---|
static TaskProcessor.ProcessingResult |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TaskProcessor.ProcessingResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TaskProcessor.ProcessingResult Success
public static final TaskProcessor.ProcessingResult Congestion
public static final TaskProcessor.ProcessingResult TransientError
public static final TaskProcessor.ProcessingResult PermanentError
public static TaskProcessor.ProcessingResult[] values()
for (TaskProcessor.ProcessingResult c : TaskProcessor.ProcessingResult.values()) System.out.println(c);
public static TaskProcessor.ProcessingResult valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null