|
Berkeley DB version 5.3.28 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sleepycat.db.LockRequestMode
public final class 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. |
Method Summary | |
---|---|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, 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 matrixMethod Detail |
---|
public String toString()
toString
in class Object
|
Berkeley DB version 5.3.28 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |