public static enum IShardConsumer.TaskOutcome extends Enum<IShardConsumer.TaskOutcome>
| Enum Constant and Description |
|---|
END_OF_SHARD |
FAILURE |
LEASE_NOT_FOUND |
NOT_COMPLETE |
SUCCESSFUL |
| Modifier and Type | Method and Description |
|---|---|
static IShardConsumer.TaskOutcome |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IShardConsumer.TaskOutcome[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IShardConsumer.TaskOutcome SUCCESSFUL
public static final IShardConsumer.TaskOutcome END_OF_SHARD
public static final IShardConsumer.TaskOutcome NOT_COMPLETE
public static final IShardConsumer.TaskOutcome FAILURE
public static final IShardConsumer.TaskOutcome LEASE_NOT_FOUND
public static IShardConsumer.TaskOutcome[] values()
for (IShardConsumer.TaskOutcome c : IShardConsumer.TaskOutcome.values()) System.out.println(c);
public static IShardConsumer.TaskOutcome 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 © 2023. All rights reserved.