public static enum NodeConfig.ConsistencyMode extends Enum<NodeConfig.ConsistencyMode>
| Enum Constant and Description |
|---|
RELAXED
Relaxed mode allows operations to complete on stale masters
|
STRICT
Strict mode makes sure operations may only complete on current leader
|
UNSET
The default or current value
|
| Modifier and Type | Method and Description |
|---|---|
static NodeConfig.ConsistencyMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NodeConfig.ConsistencyMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NodeConfig.ConsistencyMode UNSET
public static final NodeConfig.ConsistencyMode STRICT
public static final NodeConfig.ConsistencyMode RELAXED
public static NodeConfig.ConsistencyMode[] values()
for (NodeConfig.ConsistencyMode c : NodeConfig.ConsistencyMode.values()) System.out.println(c);
public static NodeConfig.ConsistencyMode 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 © 2025. All rights reserved.