Enum PersistenceManager.AccessMode
- java.lang.Object
-
- java.lang.Enum<PersistenceManager.AccessMode>
-
- org.infinispan.persistence.manager.PersistenceManager.AccessMode
-
- All Implemented Interfaces:
Serializable,Comparable<PersistenceManager.AccessMode>,Predicate<StoreConfiguration>
- Enclosing interface:
- PersistenceManager
public static enum PersistenceManager.AccessMode extends Enum<PersistenceManager.AccessMode> implements Predicate<StoreConfiguration>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ASYNCThe operation is performed only in aCacheWriterorCacheLoaderthat has async write behind.BOTHThe operation is performed in allCacheWriterorCacheLoaderNOT_ASYNCThe operation is performed only in aCacheWriterorCacheLoaderthat doesn't have async write behind.PRIVATEThe operation is performed only in non-sharedCacheWriterorCacheLoaderSHAREDThe operation is performed only in shared configuredCacheWriterorCacheLoader
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PersistenceManager.AccessModevalueOf(String name)Returns the enum constant of this type with the specified name.static PersistenceManager.AccessMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BOTH
public static final PersistenceManager.AccessMode BOTH
The operation is performed in allCacheWriterorCacheLoader
-
SHARED
public static final PersistenceManager.AccessMode SHARED
The operation is performed only in shared configuredCacheWriterorCacheLoader
-
PRIVATE
public static final PersistenceManager.AccessMode PRIVATE
The operation is performed only in non-sharedCacheWriterorCacheLoader
-
ASYNC
public static final PersistenceManager.AccessMode ASYNC
The operation is performed only in aCacheWriterorCacheLoaderthat has async write behind.
-
NOT_ASYNC
public static final PersistenceManager.AccessMode NOT_ASYNC
The operation is performed only in aCacheWriterorCacheLoaderthat doesn't have async write behind.
-
-
Method Detail
-
values
public static PersistenceManager.AccessMode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PersistenceManager.AccessMode c : PersistenceManager.AccessMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PersistenceManager.AccessMode valueOf(String name)
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
-
-