protected static enum Locking.Type extends java.lang.Enum<Locking.Type>
枚举常量和说明 |
---|
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 |
SIG_RET |
限定符和类型 | 方法和说明 |
---|---|
static Locking.Type |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static Locking.Type[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
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 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
- 要返回的枚举常量的名称。java.lang.IllegalArgumentException
- 如果该枚举类型没有带有指定名称的常量java.lang.NullPointerException
- 如果参数为空值