public static enum SpaceDef.LockScope extends java.lang.Enum<SpaceDef.LockScope>
Enum Constant and Description |
---|
NONE |
PROCESS
Process based lock scope
|
THREAD
Thread based lock scope
|
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static SpaceDef.LockScope |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SpaceDef.LockScope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SpaceDef.LockScope NONE
public static final SpaceDef.LockScope THREAD
public static final SpaceDef.LockScope PROCESS
public static SpaceDef.LockScope[] values()
for (SpaceDef.LockScope c : SpaceDef.LockScope.values()) System.out.println(c);
public static SpaceDef.LockScope 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 nullpublic int getValue()
Copyright (c) 2014 Cloud Software Group, Inc. All rights reserved.