org.apache.hadoop.hbase.regionserver
Enum CompactSplitThread.CompactionState
java.lang.Object
java.lang.Enum<CompactSplitThread.CompactionState>
org.apache.hadoop.hbase.regionserver.CompactSplitThread.CompactionState
- All Implemented Interfaces:
- Serializable, Comparable<CompactSplitThread.CompactionState>
- Enclosing class:
- CompactSplitThread
public static enum CompactSplitThread.CompactionState
- extends Enum<CompactSplitThread.CompactionState>
An enum for the region compaction state
NONE
public static final CompactSplitThread.CompactionState NONE
MINOR
public static final CompactSplitThread.CompactionState MINOR
MAJOR
public static final CompactSplitThread.CompactionState MAJOR
MAJOR_AND_MINOR
public static final CompactSplitThread.CompactionState MAJOR_AND_MINOR
values
public static CompactSplitThread.CompactionState[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (CompactSplitThread.CompactionState c : CompactSplitThread.CompactionState.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static CompactSplitThread.CompactionState valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
Copyright © 2013 Cloudera. All Rights Reserved.