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