@EnumDescription(value="Controls when cleaning is scheduled.") public enum CleaningTriggerStrategy extends Enum<CleaningTriggerStrategy>
| Enum Constant and Description |
|---|
NUM_COMMITS |
| Modifier and Type | Method and Description |
|---|---|
static CleaningTriggerStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CleaningTriggerStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@EnumFieldDescription(value="Trigger the cleaning service every N commits, determined by `hoodie.clean.trigger.max.commits`.") public static final CleaningTriggerStrategy NUM_COMMITS
public static CleaningTriggerStrategy[] values()
for (CleaningTriggerStrategy c : CleaningTriggerStrategy.values()) System.out.println(c);
public static CleaningTriggerStrategy 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 © 2024 The Apache Software Foundation. All rights reserved.