public class ConsistencyGuardConfig extends DefaultHoodieConfig
| Modifier and Type | Class and Description |
|---|---|
static class |
ConsistencyGuardConfig.Builder
The builder used to build consistency configurations.
|
props| Constructor and Description |
|---|
ConsistencyGuardConfig(Properties props) |
| Modifier and Type | Method and Description |
|---|---|
int |
getInitialConsistencyCheckIntervalMs() |
int |
getMaxConsistencyCheckIntervalMs() |
int |
getMaxConsistencyChecks() |
long |
getOptimisticConsistencyGuardSleepTimeMs() |
boolean |
isConsistencyCheckEnabled() |
static ConsistencyGuardConfig.Builder |
newBuilder() |
boolean |
shouldEnableOptimisticConsistencyGuard() |
getProps, setDefaultOnCondition, setDefaultOnConditionpublic ConsistencyGuardConfig(Properties props)
public static ConsistencyGuardConfig.Builder newBuilder()
public boolean isConsistencyCheckEnabled()
public int getMaxConsistencyChecks()
public int getInitialConsistencyCheckIntervalMs()
public int getMaxConsistencyCheckIntervalMs()
public long getOptimisticConsistencyGuardSleepTimeMs()
public boolean shouldEnableOptimisticConsistencyGuard()
Copyright © 2021 The Apache Software Foundation. All rights reserved.