public static enum Locking.Type extends java.lang.Enum<Locking.Type>
Enum Constant and Description |
---|
COND_SIG |
COND_SIG_ALL |
CREATE_AWAITER |
CREATE_LOCK |
DELETE_AWAITER |
DELETE_LOCK |
DELETE_LOCK_AWAIT |
GRANT_LOCK |
LOCK_AWAIT |
LOCK_DENIED |
LOCK_GRANTED |
RELEASE_LOCK |
RELEASE_LOCK_OK |
SIG_RET |
Modifier and Type | Method and Description |
---|---|
static Locking.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Locking.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Locking.Type GRANT_LOCK
public static final Locking.Type LOCK_GRANTED
public static final Locking.Type LOCK_DENIED
public static final Locking.Type RELEASE_LOCK
public static final Locking.Type RELEASE_LOCK_OK
public static final Locking.Type CREATE_LOCK
public static final Locking.Type DELETE_LOCK
public static final Locking.Type LOCK_AWAIT
public static final Locking.Type COND_SIG
public static final Locking.Type COND_SIG_ALL
public static final Locking.Type SIG_RET
public static final Locking.Type DELETE_LOCK_AWAIT
public static final Locking.Type CREATE_AWAITER
public static final Locking.Type DELETE_AWAITER
public static Locking.Type[] values()
for (Locking.Type c : Locking.Type.values()) System.out.println(c);
public static Locking.Type 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 nullCopyright © 1998-2020 Red Hat. All Rights Reserved.