Package com.sleepycat.db
Class LockRequestMode
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
FieldsModifier and TypeFieldDescriptionstatic final LockRequestModeIntention to read (shared).static final LockRequestModeIntention to read and write (shared).static final LockRequestModeIntention to write (shared).static final LockRequestModeRead (shared).static final LockRequestModeWrite (exclusive). -
Constructor Summary
ConstructorsConstructorDescriptionLockRequestMode(String operationName, int flag) Construct a custom lock request mode. -
Method Summary
-
Field Details
-
READ
Read (shared). -
WRITE
Write (exclusive). -
IWRITE
Intention to write (shared). -
IREAD
Intention to read (shared). -
IWR
Intention to read and write (shared).
-
-
Constructor Details
-
LockRequestMode
Construct a custom lock request mode.- Parameters:
operationName- Name used to display the modeflag- Flag value used as an index into the lock conflict matrix
-
-
Method Details