|
Berkeley DB Java Edition version 1.5.1 |
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use LockMode | |
com.sleepycat.je | Foundation for creating environments, databases and transactions; provides cursor based data access. |
Uses of LockMode in com.sleepycat.je |
Fields in com.sleepycat.je declared as LockMode | |
static LockMode |
LockMode.DEFAULT
Acquire read locks for read operations and write locks for write operations. |
static LockMode |
LockMode.DIRTY_READ
Read modified but not yet committed data. |
static LockMode |
LockMode.RMW
Acquire write locks instead of read locks when doing the retrieval. |
Methods in com.sleepycat.je with parameters of type LockMode | |
OperationStatus |
SecondaryDatabase.get(Transaction txn,
DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode)
Retrieves the key/data pair with the given key. |
OperationStatus |
SecondaryDatabase.get(Transaction txn,
DatabaseEntry key,
DatabaseEntry pKey,
DatabaseEntry data,
LockMode lockMode)
Retrieves the key/data pair with the given key. |
OperationStatus |
SecondaryDatabase.getSearchBoth(Transaction txn,
DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode)
This operation is not allowed with this method signature. |
OperationStatus |
SecondaryDatabase.getSearchBoth(Transaction txn,
DatabaseEntry key,
DatabaseEntry pKey,
DatabaseEntry data,
LockMode lockMode)
Retrieves the key/data pair with the specified secondary and primary key, that is, both the primary and secondary key items must match. |
OperationStatus |
SecondaryCursor.getCurrent(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode)
Returns the key/data pair to which the cursor refers. |
OperationStatus |
SecondaryCursor.getCurrent(DatabaseEntry key,
DatabaseEntry pKey,
DatabaseEntry data,
LockMode lockMode)
Returns the key/data pair to which the cursor refers. |
OperationStatus |
SecondaryCursor.getFirst(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode)
Moves the cursor to the first key/data pair of the database, and returns that pair. |
OperationStatus |
SecondaryCursor.getFirst(DatabaseEntry key,
DatabaseEntry pKey,
DatabaseEntry data,
LockMode lockMode)
Moves the cursor to the first key/data pair of the database, and returns that pair. |
OperationStatus |
SecondaryCursor.getLast(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode)
Moves the cursor to the last key/data pair of the database, and returns that pair. |
OperationStatus |
SecondaryCursor.getLast(DatabaseEntry key,
DatabaseEntry pKey,
DatabaseEntry data,
LockMode lockMode)
Moves the cursor to the last key/data pair of the database, and returns that pair. |
OperationStatus |
SecondaryCursor.getNext(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode)
Moves the cursor to the next key/data pair and returns that pair. |
OperationStatus |
SecondaryCursor.getNext(DatabaseEntry key,
DatabaseEntry pKey,
DatabaseEntry data,
LockMode lockMode)
Moves the cursor to the next key/data pair and returns that pair. |
OperationStatus |
SecondaryCursor.getNextDup(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode)
If the next key/data pair of the database is a duplicate data record for the current key/data pair, moves the cursor to the next key/data pair of the database and returns that pair. |
OperationStatus |
SecondaryCursor.getNextDup(DatabaseEntry key,
DatabaseEntry pKey,
DatabaseEntry data,
LockMode lockMode)
If the next key/data pair of the database is a duplicate data record for the current key/data pair, moves the cursor to the next key/data pair of the database and returns that pair. |
OperationStatus |
SecondaryCursor.getNextNoDup(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode)
Moves the cursor to the next non-duplicate key/data pair and returns that pair. |
OperationStatus |
SecondaryCursor.getNextNoDup(DatabaseEntry key,
DatabaseEntry pKey,
DatabaseEntry data,
LockMode lockMode)
Moves the cursor to the next non-duplicate key/data pair and returns that pair. |
OperationStatus |
SecondaryCursor.getPrev(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode)
Moves the cursor to the previous key/data pair and returns that pair. |
OperationStatus |
SecondaryCursor.getPrev(DatabaseEntry key,
DatabaseEntry pKey,
DatabaseEntry data,
LockMode lockMode)
Moves the cursor to the previous key/data pair and returns that pair. |
OperationStatus |
SecondaryCursor.getPrevDup(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode)
If the previous key/data pair of the database is a duplicate data record for the current key/data pair, moves the cursor to the previous key/data pair of the database and returns that pair. |
OperationStatus |
SecondaryCursor.getPrevDup(DatabaseEntry key,
DatabaseEntry pKey,
DatabaseEntry data,
LockMode lockMode)
If the previous key/data pair of the database is a duplicate data record for the current key/data pair, moves the cursor to the previous key/data pair of the database and returns that pair. |
OperationStatus |
SecondaryCursor.getPrevNoDup(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode)
Moves the cursor to the previous non-duplicate key/data pair and returns that pair. |
OperationStatus |
SecondaryCursor.getPrevNoDup(DatabaseEntry key,
DatabaseEntry pKey,
DatabaseEntry data,
LockMode lockMode)
Moves the cursor to the previous non-duplicate key/data pair and returns that pair. |
OperationStatus |
SecondaryCursor.getSearchKey(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode)
Moves the cursor to the given key of the database, and returns the datum associated with the given key. |
OperationStatus |
SecondaryCursor.getSearchKey(DatabaseEntry key,
DatabaseEntry pKey,
DatabaseEntry data,
LockMode lockMode)
Moves the cursor to the given key of the database, and returns the datum associated with the given key. |
OperationStatus |
SecondaryCursor.getSearchKeyRange(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode)
Moves the cursor to the closest matching key of the database, and returns the datum associated with the matching key. |
OperationStatus |
SecondaryCursor.getSearchKeyRange(DatabaseEntry key,
DatabaseEntry pKey,
DatabaseEntry data,
LockMode lockMode)
Moves the cursor to the closest matching key of the database, and returns the datum associated with the matching key. |
OperationStatus |
SecondaryCursor.getSearchBoth(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode)
This operation is not allowed with this method signature. |
OperationStatus |
SecondaryCursor.getSearchBoth(DatabaseEntry key,
DatabaseEntry pKey,
DatabaseEntry data,
LockMode lockMode)
Moves the cursor to the specified secondary and primary key, that is, both the primary and secondary key items must match. |
OperationStatus |
SecondaryCursor.getSearchBothRange(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode)
This operation is not allowed with this method signature. |
OperationStatus |
SecondaryCursor.getSearchBothRange(DatabaseEntry key,
DatabaseEntry pKey,
DatabaseEntry data,
LockMode lockMode)
Moves the cursor to the specified secondary key and closest matching primary key of the database. |
OperationStatus |
JoinCursor.getNext(DatabaseEntry key,
LockMode lockMode)
Returns the next primary key resulting from the join operation. |
OperationStatus |
JoinCursor.getNext(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode)
Returns the next primary key and data resulting from the join operation. |
OperationStatus |
Database.get(Transaction txn,
DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode)
Retrieves the key/data pair with the given key. |
OperationStatus |
Database.getSearchBoth(Transaction txn,
DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode)
Retrieves the key/data pair with the given key and data value, that is, both the key and data items must match. |
OperationStatus |
Cursor.getCurrent(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode)
Returns the key/data pair to which the cursor refers. |
OperationStatus |
Cursor.getFirst(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode)
Moves the cursor to the first key/data pair of the database, and returns that pair. |
OperationStatus |
Cursor.getLast(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode)
Moves the cursor to the last key/data pair of the database, and returns that pair. |
OperationStatus |
Cursor.getNext(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode)
Moves the cursor to the next key/data pair and returns that pair. |
OperationStatus |
Cursor.getNextDup(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode)
If the next key/data pair of the database is a duplicate data record for the current key/data pair, moves the cursor to the next key/data pair of the database and returns that pair. |
OperationStatus |
Cursor.getNextNoDup(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode)
Moves the cursor to the next non-duplicate key/data pair and returns that pair. |
OperationStatus |
Cursor.getPrev(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode)
Moves the cursor to the previous key/data pair and returns that pair. |
OperationStatus |
Cursor.getPrevDup(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode)
If the previous key/data pair of the database is a duplicate data record for the current key/data pair, moves the cursor to the previous key/data pair of the database and returns that pair. |
OperationStatus |
Cursor.getPrevNoDup(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode)
Moves the cursor to the previous non-duplicate key/data pair and returns that pair. |
OperationStatus |
Cursor.getSearchKey(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode)
Moves the cursor to the given key of the database, and returns the datum associated with the given key. |
OperationStatus |
Cursor.getSearchKeyRange(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode)
Moves the cursor to the closest matching key of the database, and returns the datum associated with the matching key. |
OperationStatus |
Cursor.getSearchBoth(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode)
Moves the cursor to the specified key/data pair, that is, both the key and data items must match. |
OperationStatus |
Cursor.getSearchBothRange(DatabaseEntry key,
DatabaseEntry data,
LockMode lockMode)
Moves the cursor to the specified key and closest matching data item of the database. |
|
Berkeley DB Java Edition version 1.5.1 |
||||||||||
PREV NEXT | FRAMES NO FRAMES |