public static enum TransportShardBulkAction.ReplicaItemExecutionMode extends java.lang.Enum<TransportShardBulkAction.ReplicaItemExecutionMode>
Enum Constant and Description |
---|
FAILURE
When primary execution failed after sequence no was generated
|
NOOP
When primary execution failed before sequence no was generated
or primary execution was a noop (only possible when request is originating from pre-6.0 nodes)
|
NORMAL
When primary execution succeeded
|
Modifier and Type | Method and Description |
---|---|
static TransportShardBulkAction.ReplicaItemExecutionMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TransportShardBulkAction.ReplicaItemExecutionMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransportShardBulkAction.ReplicaItemExecutionMode NORMAL
public static final TransportShardBulkAction.ReplicaItemExecutionMode NOOP
public static final TransportShardBulkAction.ReplicaItemExecutionMode FAILURE
public static TransportShardBulkAction.ReplicaItemExecutionMode[] values()
for (TransportShardBulkAction.ReplicaItemExecutionMode c : TransportShardBulkAction.ReplicaItemExecutionMode.values()) System.out.println(c);
public static TransportShardBulkAction.ReplicaItemExecutionMode 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