public static enum ActiveCompaction.CompactionReason extends Enum<ActiveCompaction.CompactionReason>
Enum Constant and Description |
---|
CHOP
Compaction initiated by merge operation
|
CLOSE
Compaction initiated to close a unload a tablet
|
IDLE
idle compaction
|
SYSTEM
Compaction initiated by system
|
USER
compaction initiated by user
|
Modifier and Type | Method and Description |
---|---|
static ActiveCompaction.CompactionReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ActiveCompaction.CompactionReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ActiveCompaction.CompactionReason USER
public static final ActiveCompaction.CompactionReason SYSTEM
public static final ActiveCompaction.CompactionReason CHOP
public static final ActiveCompaction.CompactionReason IDLE
public static final ActiveCompaction.CompactionReason CLOSE
public static ActiveCompaction.CompactionReason[] values()
for (ActiveCompaction.CompactionReason c : ActiveCompaction.CompactionReason.values()) System.out.println(c);
public static ActiveCompaction.CompactionReason 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 © 2011-2016 The Apache Software Foundation. All Rights Reserved.