Package org.apache.accumulo.core.client
Enum Class ScannerBase.ConsistencyLevel
java.lang.Object
java.lang.Enum<ScannerBase.ConsistencyLevel>
org.apache.accumulo.core.client.ScannerBase.ConsistencyLevel
- All Implemented Interfaces:
Serializable,Comparable<ScannerBase.ConsistencyLevel>,Constable
- Enclosing interface:
ScannerBase
Consistency level for the scanner. The default level is IMMEDIATE, which means that this
scanner will see keys and values that have been successfully written to a TabletServer.
EVENTUAL means that the scanner may not see the latest data that was written to a TabletServer,
but may instead see an older version of data. To use the EVENTUAL consistency level, ScanServer
processes must be running. If not specifically configured, clients will use the default
settings (
ConfigurableScanServerSelector#PROFILES_DEFAULT). See
ConfigurableScanServerSelector for information on how to configure the client.- Since:
- 2.1.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic ScannerBase.ConsistencyLevelReturns the enum constant of this class with the specified name.static ScannerBase.ConsistencyLevel[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
IMMEDIATE
-
EVENTUAL
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-