Enum IndexStartupMode
- All Implemented Interfaces:
Serializable
,Comparable<IndexStartupMode>
Allows to define some mass indexing operations (e.g.: purge or reindex) to trigger when the cache starts.
These actions are usually needed to keep data and indexes aligned (consistent).
- Since:
- 14.0
- Author:
- Fabio Massimo Ercoli <fabiomassimo.ercoli@gmail.com>
-
Enum Constant Summary
Enum ConstantDescriptionWith this configuration Infinispan will try to run the right action to align cache data and indexes.No mass-indexing operation is triggered at cache startup time.Purge will be triggered at cache startup time.Reindex will be triggered at cache startup time. -
Method Summary
Modifier and TypeMethodDescriptionstatic IndexStartupMode
requireValid
(String value, org.infinispan.util.logging.Log logger) static IndexStartupMode
Returns the enum constant of this type with the specified name.static IndexStartupMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
PURGE
Purge will be triggered at cache startup time. -
REINDEX
Reindex will be triggered at cache startup time. -
AUTO
With this configuration Infinispan will try to run the right action to align cache data and indexes. Purge will be triggered if the cache data is volatile and indexes are not. Reindex will be triggered if the cache data is not volatile and indexes are. -
NONE
No mass-indexing operation is triggered at cache startup time. This is the default.
-
-
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
-
requireValid
-