|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<BroadcastOperationThreading> org.elasticsearch.action.support.broadcast.BroadcastOperationThreading
public enum BroadcastOperationThreading
Controls the operation threading model for broadcast operation that are performed locally on the executing node.
Enum Constant Summary | |
---|---|
NO_THREADS
No threads are used, all the local shards operations will be performed on the calling thread. |
|
SINGLE_THREAD
The local shards operations will be performed in serial manner on a single forked thread. |
|
THREAD_PER_SHARD
Each local shard operation will execute on its own thread. |
Method Summary | |
---|---|
static BroadcastOperationThreading |
fromId(byte id)
|
static BroadcastOperationThreading |
fromString(java.lang.String value,
BroadcastOperationThreading defaultValue)
|
byte |
id()
|
static BroadcastOperationThreading |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static BroadcastOperationThreading[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final BroadcastOperationThreading NO_THREADS
public static final BroadcastOperationThreading SINGLE_THREAD
public static final BroadcastOperationThreading THREAD_PER_SHARD
Method Detail |
---|
public static BroadcastOperationThreading[] values()
for (BroadcastOperationThreading c : BroadcastOperationThreading.values()) System.out.println(c);
public static BroadcastOperationThreading 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 name
java.lang.NullPointerException
- if the argument is nullpublic byte id()
public static BroadcastOperationThreading fromId(byte id)
public static BroadcastOperationThreading fromString(java.lang.String value, BroadcastOperationThreading defaultValue)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |