public enum ConsistencyMode extends Enum<ConsistencyMode>
| Enum Constant and Description |
|---|
CONSISTENT |
DEFAULT |
STALE |
| Modifier and Type | Method and Description |
|---|---|
Optional<String> |
toParam() |
static ConsistencyMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConsistencyMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConsistencyMode DEFAULT
public static final ConsistencyMode STALE
public static final ConsistencyMode CONSISTENT
public static ConsistencyMode[] values()
for (ConsistencyMode c : ConsistencyMode.values()) System.out.println(c);
public static 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 © 2019. All rights reserved.