public static enum CompactionRequest.CompactionState extends Enum<CompactionRequest.CompactionState>
Enum Constant and Description |
---|
MAJOR |
MAJOR_AND_MINOR |
MINOR |
NONE |
Modifier and Type | Method and Description |
---|---|
static CompactionRequest.CompactionState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CompactionRequest.CompactionState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CompactionRequest.CompactionState NONE
public static final CompactionRequest.CompactionState MINOR
public static final CompactionRequest.CompactionState MAJOR
public static final CompactionRequest.CompactionState MAJOR_AND_MINOR
public static CompactionRequest.CompactionState[] values()
for (CompactionRequest.CompactionState c : CompactionRequest.CompactionState.values()) System.out.println(c);
public static CompactionRequest.CompactionState 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 nullCopyright © 2014 The Apache Software Foundation. All Rights Reserved.