public static enum PersistenceManager.AccessMode extends Enum<PersistenceManager.AccessMode> implements Predicate<StoreConfiguration>
| Enum Constant and Description |
|---|
ASYNC
The operation is performed only in a
CacheWriter or CacheLoader that has async write behind. |
BOTH
The operation is performed in all
CacheWriter or CacheLoader |
NOT_ASYNC
The operation is performed only in a
CacheWriter or CacheLoader that doesn't have async write behind. |
PRIVATE
The operation is performed only in non-shared
CacheWriter or CacheLoader |
SHARED
The operation is performed only in shared configured
CacheWriter or
CacheLoader |
| Modifier and Type | Method and Description |
|---|---|
static PersistenceManager.AccessMode |
valueOf(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.
|
public static final PersistenceManager.AccessMode BOTH
CacheWriter or CacheLoaderpublic static final PersistenceManager.AccessMode SHARED
CacheWriter or
CacheLoaderpublic static final PersistenceManager.AccessMode PRIVATE
CacheWriter or CacheLoaderpublic static final PersistenceManager.AccessMode ASYNC
CacheWriter or CacheLoader that has async write behind.public static final PersistenceManager.AccessMode NOT_ASYNC
CacheWriter or CacheLoader that doesn't have async write behind.public static PersistenceManager.AccessMode[] values()
for (PersistenceManager.AccessMode c : PersistenceManager.AccessMode.values()) System.out.println(c);
public static PersistenceManager.AccessMode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2021 JBoss by Red Hat. All rights reserved.