public enum MajorCompactionReason extends Enum<MajorCompactionReason>
| Modifier and Type | Method and Description |
|---|---|
static MajorCompactionReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MajorCompactionReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MajorCompactionReason USER
public static final MajorCompactionReason CHOP
public static final MajorCompactionReason NORMAL
public static final MajorCompactionReason IDLE
public static MajorCompactionReason[] values()
for (MajorCompactionReason c : MajorCompactionReason.values()) System.out.println(c);
public static MajorCompactionReason 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–2017 The Apache Software Foundation. All rights reserved.