public static enum TransactionalLock.LockType extends Enum<TransactionalLock.LockType>
Enum Constant and Description |
---|
READ
Read Lock.
|
WRITE
Write lock.
|
Modifier and Type | Method and Description |
---|---|
static TransactionalLock.LockType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TransactionalLock.LockType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransactionalLock.LockType READ
public static final TransactionalLock.LockType WRITE
public static TransactionalLock.LockType[] values()
for (TransactionalLock.LockType c : TransactionalLock.LockType.values()) System.out.println(c);
public static TransactionalLock.LockType 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 © 2022 Apache Software Foundation. All rights reserved.