public static enum LockDetails.LockType extends Enum<LockDetails.LockType>
Enum Constant and Description |
---|
EXCLUSIVE
A lock held by a specific transaction.
|
SHARED
A lock that may be held by several transactions when no exclusive lock is held
for the same qualified name.
|
Modifier and Type | Method and Description |
---|---|
static LockDetails.LockType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LockDetails.LockType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LockDetails.LockType EXCLUSIVE
public static final LockDetails.LockType SHARED
public static LockDetails.LockType[] values()
for (LockDetails.LockType c : LockDetails.LockType.values()) System.out.println(c);
public static LockDetails.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 © 2005–2017 Alfresco Software. All rights reserved.