public enum IndexStatus extends Enum<IndexStatus>
Specifies an index status.
Enum Constant and Description |
---|
ChangingAttributes
Index changes attributes.
|
Deleting
Index performs a deleting operation.
|
Failed
Index needs to be reloaded due to an error.
|
Indexing
Index performs an indexing operation.
|
Merging
Index performs a merging operation.
|
Optimizing
Index performs an optimizing operation.
|
Ready
Index is free and ready to change.
|
Renaming
Index performs a renaming operation.
|
Updating
Index performs an updating operation.
|
Modifier and Type | Method and Description |
---|---|
static IndexStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IndexStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IndexStatus Ready
Index is free and ready to change.
public static final IndexStatus Failed
Index needs to be reloaded due to an error.
public static final IndexStatus Indexing
Index performs an indexing operation.
public static final IndexStatus Updating
Index performs an updating operation.
public static final IndexStatus Merging
Index performs a merging operation.
public static final IndexStatus Optimizing
Index performs an optimizing operation.
public static final IndexStatus Deleting
Index performs a deleting operation.
public static final IndexStatus Renaming
Index performs a renaming operation.
public static final IndexStatus ChangingAttributes
Index changes attributes.
public static IndexStatus[] values()
for (IndexStatus c : IndexStatus.values()) System.out.println(c);
public static IndexStatus 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 null