public enum ReadLockingMode extends java.lang.Enum<ReadLockingMode> implements java.io.Serializable
| Enum Constant and Description |
|---|
LockOnRead
The object should be locked in the StateServer so that the calling thread can establish exclusive access.
|
NoLockOnRead
The object should not be locked in the StateServer.
|
| Modifier and Type | Method and Description |
|---|---|
static ReadLockingMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ReadLockingMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReadLockingMode LockOnRead
public static final ReadLockingMode NoLockOnRead
NamedCache.releaseLock(CachedObjectId) to release an existing lock.public static ReadLockingMode[] values()
for (ReadLockingMode c : ReadLockingMode.values()) System.out.println(c);
public static ReadLockingMode valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null