public enum SqlJetLockType extends java.lang.Enum<SqlJetLockType>
Enum Constant and Description |
---|
EXCLUSIVE
An EXCLUSIVE lock precludes all other locks.
|
NONE
Not locked
|
PENDING
A single process may hold a PENDING lock on a file at
any one time.
|
RESERVED
A single process may hold a RESERVED lock on a file at
any time.
|
SHARED
Any number of processes may hold a SHARED lock simultaneously.
|
Modifier and Type | Method and Description |
---|---|
static SqlJetLockType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SqlJetLockType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SqlJetLockType NONE
public static final SqlJetLockType SHARED
public static final SqlJetLockType RESERVED
public static final SqlJetLockType PENDING
public static final SqlJetLockType EXCLUSIVE
public static SqlJetLockType[] values()
for (SqlJetLockType c : SqlJetLockType.values()) System.out.println(c);
public static SqlJetLockType 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 © 2009-2010 TMate Software Ltd. All Rights Reserved.