|
Berkeley DB version 4.3.29 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sleepycat.db.LockRequestMode
When using the default lock conflict matrix, the LockRequestMode class defines the set of possible lock modes.
Field Summary | |
static LockRequestMode |
IREAD
Intention to read (shared). |
static LockRequestMode |
IWR
Intention to read and write (shared). |
static LockRequestMode |
IWRITE
Intention to write (shared). |
static LockRequestMode |
READ
Read (shared). |
static LockRequestMode |
WRITE
Write (exclusive). |
Constructor Summary | |
LockRequestMode(String operationName,
int flag)
Construct a custom lock request mode. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final LockRequestMode READ
public static final LockRequestMode WRITE
public static final LockRequestMode IWRITE
public static final LockRequestMode IREAD
public static final LockRequestMode IWR
Constructor Detail |
public LockRequestMode(String operationName, int flag)
operationName
- Name used to display the mode
flag
- Flag value used as an index into the lock conflict matrix
|
Berkeley DB version 4.3.29 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |