public class ConsistencyGuardConfig extends HoodieConfig
| Modifier and Type | Class and Description |
|---|---|
static class |
ConsistencyGuardConfig.Builder
The builder used to build consistency configurations.
|
| Modifier and Type | Field and Description |
|---|---|
static ConfigProperty<String> |
ENABLE |
static ConfigProperty<Long> |
INITIAL_CHECK_INTERVAL_MS |
static ConfigProperty<Long> |
MAX_CHECK_INTERVAL_MS |
static ConfigProperty<Integer> |
MAX_CHECKS |
static ConfigProperty<Boolean> |
OPTIMISTIC_CONSISTENCY_GUARD_ENABLE |
static ConfigProperty<Long> |
OPTIMISTIC_CONSISTENCY_GUARD_SLEEP_TIME_MS |
CONFIG_VALUES_DELIMITER, props| Modifier and Type | Method and Description |
|---|---|
int |
getInitialConsistencyCheckIntervalMs() |
int |
getMaxConsistencyCheckIntervalMs() |
int |
getMaxConsistencyChecks() |
long |
getOptimisticConsistencyGuardSleepTimeMs() |
boolean |
isConsistencyCheckEnabled() |
static ConsistencyGuardConfig.Builder |
newBuilder() |
boolean |
shouldEnableOptimisticConsistencyGuard() |
contains, contains, getBoolean, getBooleanOrDefault, getBooleanOrDefault, getBooleanOrDefault, getDouble, getDoubleOrDefault, getFloat, getFloatOrDefault, getInt, getIntOrDefault, getLong, getLongOrDefault, getProps, getProps, getSplitStrings, getSplitStrings, getString, getString, getStringOrDefault, getStringOrDefault, getStringOrThrow, setAll, setDefault, setDefaultOnCondition, setDefaults, setDefaultValue, setDefaultValue, setValue, setValuepublic static final ConfigProperty<String> ENABLE
public static final ConfigProperty<Long> INITIAL_CHECK_INTERVAL_MS
public static final ConfigProperty<Long> MAX_CHECK_INTERVAL_MS
public static final ConfigProperty<Integer> MAX_CHECKS
public static final ConfigProperty<Long> OPTIMISTIC_CONSISTENCY_GUARD_SLEEP_TIME_MS
public static final ConfigProperty<Boolean> OPTIMISTIC_CONSISTENCY_GUARD_ENABLE
public static ConsistencyGuardConfig.Builder newBuilder()
public boolean isConsistencyCheckEnabled()
public int getMaxConsistencyChecks()
public int getInitialConsistencyCheckIntervalMs()
public int getMaxConsistencyCheckIntervalMs()
public long getOptimisticConsistencyGuardSleepTimeMs()
public boolean shouldEnableOptimisticConsistencyGuard()
Copyright © 2024 The Apache Software Foundation. All rights reserved.