Enum Class PersistenceManager.AccessMode
java.lang.Object
java.lang.Enum<PersistenceManager.AccessMode>
org.infinispan.persistence.manager.PersistenceManager.AccessMode
- All Implemented Interfaces:
Serializable,Comparable<PersistenceManager.AccessMode>,Constable,Predicate<StoreConfiguration>
- Enclosing interface:
PersistenceManager
public static enum PersistenceManager.AccessMode
extends Enum<PersistenceManager.AccessMode>
implements Predicate<StoreConfiguration>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe operation is performed only in aCacheWriterorCacheLoaderthat has async write behind.The operation is performed in allCacheWriterorCacheLoaderThe operation is performed only in aCacheWriterorCacheLoaderthat doesn't have async write behind.The operation is performed only in non-sharedCacheWriterorCacheLoaderThe operation is performed only in shared configuredCacheWriterorCacheLoader -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static PersistenceManager.AccessMode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BOTH
The operation is performed in allCacheWriterorCacheLoader -
SHARED
The operation is performed only in shared configuredCacheWriterorCacheLoader -
PRIVATE
The operation is performed only in non-sharedCacheWriterorCacheLoader -
ASYNC
The operation is performed only in aCacheWriterorCacheLoaderthat has async write behind. -
NOT_ASYNC
The operation is performed only in aCacheWriterorCacheLoaderthat doesn't have async write behind.
-
-
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
-