public enum LockState extends Enum<LockState>
| Enum Constant and Description |
|---|
ACQUIRED |
ACQUIRING |
ALREADY_ACQUIRED |
ALREADY_RELEASED |
FAILED_TO_ACQUIRE |
FAILED_TO_RELEASE |
RELEASED |
RELEASING |
| Modifier and Type | Method and Description |
|---|---|
static LockState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LockState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LockState ACQUIRING
public static final LockState ACQUIRED
public static final LockState ALREADY_ACQUIRED
public static final LockState RELEASING
public static final LockState RELEASED
public static final LockState ALREADY_RELEASED
public static final LockState FAILED_TO_ACQUIRE
public static final LockState FAILED_TO_RELEASE
public static LockState[] values()
for (LockState c : LockState.values()) System.out.println(c);
public static LockState 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 © 2024 The Apache Software Foundation. All rights reserved.