|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ShardState>
org.apache.blur.thrift.generated.ShardState
public enum ShardState
The shard state, see shardServerLayoutOptions method in the Blur service for details. | |
OPENING | The shard is opening. |
OPEN | The shard is open. |
OPENING_ERROR | An error during the opening of the shard. |
CLOSING | In the process of closing. |
CLOSED | The shard is closed. |
CLOSING_ERROR | An error during the closing of the shard. |
Enum Constant Summary | |
---|---|
CLOSED
|
|
CLOSING
|
|
CLOSING_ERROR
|
|
OPEN
|
|
OPENING
|
|
OPENING_ERROR
|
Method Summary | |
---|---|
static ShardState |
findByValue(int value)
Find a the enum type by its integer value, as defined in the Thrift IDL. |
int |
getValue()
Get the integer value of this enum value, as defined in the Thrift IDL. |
static ShardState |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ShardState[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, 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 ShardState OPENING
public static final ShardState OPEN
public static final ShardState OPENING_ERROR
public static final ShardState CLOSING
public static final ShardState CLOSED
public static final ShardState CLOSING_ERROR
Method Detail |
---|
public static ShardState[] values()
for (ShardState c : ShardState.values()) System.out.println(c);
public static ShardState valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic int getValue()
getValue
in interface TEnum
public static ShardState findByValue(int value)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |