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