public static enum ClusterLockState.State extends Enum<ClusterLockState.State>
Enum Constant and Description |
---|
INVALID
This object has been removed from the categories map and should be discarded
|
LOCAL_LOCKING
Local node has lock across cluster, now attempting locally
|
LOCKED
The lock is held locally
|
REMOTE_LOCKING
Local node is attempting to acquire lock across cluster
|
UNLOCKED
No one has the lock and local node is not attempting to acquire
|
Modifier and Type | Method and Description |
---|---|
static ClusterLockState.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClusterLockState.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClusterLockState.State UNLOCKED
public static final ClusterLockState.State REMOTE_LOCKING
public static final ClusterLockState.State LOCAL_LOCKING
public static final ClusterLockState.State LOCKED
public static final ClusterLockState.State INVALID
public static ClusterLockState.State[] values()
for (ClusterLockState.State c : ClusterLockState.State.values()) System.out.println(c);
public static ClusterLockState.State 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 © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.