public enum CompactionStopStyle extends Enum<CompactionStopStyle>
| Enum Constant and Description |
|---|
CompactionStopStyleSimilarSize
Pick files of similar size
|
CompactionStopStyleTotalSize
Total size of picked files > next file
|
| Modifier and Type | Method and Description |
|---|---|
static CompactionStopStyle |
getCompactionStopStyle(byte value)
Get CompactionStopStyle by byte value.
|
byte |
getValue()
Returns the byte value of the enumerations value
|
static CompactionStopStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CompactionStopStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CompactionStopStyle CompactionStopStyleSimilarSize
public static final CompactionStopStyle CompactionStopStyleTotalSize
public static CompactionStopStyle[] values()
for (CompactionStopStyle c : CompactionStopStyle.values()) System.out.println(c);
public static CompactionStopStyle 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 nullpublic byte getValue()
public static CompactionStopStyle getCompactionStopStyle(byte value)
value - byte representation of CompactionStopStyle.CompactionStopStyle instance or null.IllegalArgumentException - if an invalid
value is provided.Copyright © 2021. All rights reserved.