|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<MergeState>
org.apache.accumulo.server.master.state.MergeState
public enum MergeState
Enum Constant Summary | |
---|---|
COMPLETE
merge is complete, the resulting tablet can be brought online, remove the marker in zookeeper |
|
MERGING
when the number of chopped, offline tablets equals the number of merge tablets, begin the metadata updates |
|
NONE
Not merging |
|
SPLITTING
put all matching tablets online, split tablets if we are deleting |
|
STARTED
created, stored in zookeeper, other merges are prevented on the table |
|
WAITING_FOR_CHOPPED
after the tablet server chops the file, it marks the metadata table with a chopped marker |
|
WAITING_FOR_OFFLINE
when the number of chopped tablets in the range matches the number of online tablets in the range, take the tablets offline |
Method Summary | |
---|---|
static MergeState |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static MergeState[] |
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 MergeState NONE
public static final MergeState STARTED
public static final MergeState SPLITTING
public static final MergeState WAITING_FOR_CHOPPED
public static final MergeState WAITING_FOR_OFFLINE
public static final MergeState MERGING
public static final MergeState COMPLETE
Method Detail |
---|
public static MergeState[] values()
for (MergeState c : MergeState.values()) System.out.println(c);
public static MergeState 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 null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |