public enum ConsistencyOptions extends Enum<ConsistencyOptions>
Enum Constant and Description |
---|
ALWAYS_WAIT_FOR_NON_STALE_RESULTS_AS_OF_LAST_WRITE
After updating a documents, will only accept queries which already indexed the updated value.
|
MONOTONIC_READ
Deprecated.
|
NONE
Ensures that after querying an index at time T, you will never see the results
of the index at a time prior to T.
|
QUERY_YOUR_WRITES
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static ConsistencyOptions |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConsistencyOptions[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConsistencyOptions NONE
public static final ConsistencyOptions ALWAYS_WAIT_FOR_NON_STALE_RESULTS_AS_OF_LAST_WRITE
@Deprecated public static final ConsistencyOptions MONOTONIC_READ
@Deprecated public static final ConsistencyOptions QUERY_YOUR_WRITES
public static ConsistencyOptions[] values()
for (ConsistencyOptions c : ConsistencyOptions.values()) System.out.println(c);
public static ConsistencyOptions 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 © 2016. All Rights Reserved.