Enum ScanDispatch.CacheUsage
- All Implemented Interfaces:
Serializable
,Comparable<ScanDispatch.CacheUsage>
- Enclosing interface:
- ScanDispatch
Communicates how a scan should use cache.
- Since:
- 2.1.0
-
Enum Constant Summary
Enum ConstantDescriptionDo not use cache for this scan, possibly overriding table settings.Use cache for this can, possibly overriding table settings.Use data if it exists in cache, but never load data into cache.Use the tables cache settings for this scan. -
Method Summary
Modifier and TypeMethodDescriptionstatic ScanDispatch.CacheUsage
Returns the enum constant of this type with the specified name.static ScanDispatch.CacheUsage[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ENABLED
Use cache for this can, possibly overriding table settings. -
DISABLED
Do not use cache for this scan, possibly overriding table settings. -
OPPORTUNISTIC
Use data if it exists in cache, but never load data into cache. -
TABLE
Use the tables cache settings for this scan.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-