| Package | Description |
|---|---|
| com.sleepycat.je |
Foundation for creating environments, databases and transactions; provides
cursor based data access.
|
| com.sleepycat.je.cleaner |
INTERNAL: disk garbage collection.
|
| com.sleepycat.je.dbi |
INTERNAL: Underlying XxxImpl classes for Environment, Database and Cursor,
plus other misc classes (originally, dbi meant "db internal interface").
|
| com.sleepycat.je.tree |
INTERNAL: Btree data structure (the JE main cache), including persistent
nodes classes, and Btree access methods.
|
| com.sleepycat.je.txn |
INTERNAL: Transaction management and locking (concurrency control).
|
| Modifier and Type | Method and Description |
|---|---|
static CursorImpl |
DbInternal.getCursorImpl(Cursor cursor)
Proxy to Cursor.getCursorImpl()
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
Cleaner.repairReservedFile(DatabaseImpl dbImpl,
CursorImpl cursorImpl,
byte[] key)
If the LSN at the cursor position refers to an LN in a reserved file,
and the LN may be fetched (is not embedded, etc) then repair the
problem by reactivating the file.
|
| Modifier and Type | Method and Description |
|---|---|
CursorImpl |
CursorImpl.cloneCursor(boolean samePosition)
Performs a shallow copy and returns the new cursor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
CursorImpl.checkForInsertion(GetMode getMode,
CursorImpl dupCursor)
Used to detect phantoms during "get next" operations with serializable
isolation.
|
void |
CursorImpl.close(CursorImpl newCursor)
Close a cursor.
|
static long |
CursorImpl.getCurrentLsn(CursorImpl cursor) |
boolean |
CursorImpl.isOnSamePosition(CursorImpl other) |
void |
CursorImpl.setClosingLocker(CursorImpl closingCursor)
Called when a cursor has been duplicated prior to being moved.
|
void |
CursorImpl.setPriInfo(CursorImpl sourceCursor)
When the primary record is read during a secondary operation, this
method is called to copy the primary version and storage size here.
|
boolean |
CursorImpl.WithCursor.withCursor(CursorImpl cursor,
DatabaseEntry key,
DatabaseEntry data)
Called for each record in the dbImpl.
|
| Modifier and Type | Method and Description |
|---|---|
Set<CursorImpl> |
BIN.getCursorSet() |
| Modifier and Type | Method and Description |
|---|---|
void |
BIN.addCursor(CursorImpl cursor)
Register a cursor with this BIN.
|
static long |
CountEstimator.count(DatabaseImpl dbImpl,
CursorImpl beginCursor,
boolean beginInclusive,
CursorImpl endCursor,
boolean endInclusive)
Returns an estimate of the number of records between two end points
specified by begin/end cursor positions.
|
void |
BIN.removeCursor(CursorImpl cursor)
Unregister a cursor with this bin.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Txn.registerCursor(CursorImpl cursor)
Increase the counter if a new Cursor is opened under this transaction.
|
void |
BasicLocker.registerCursor(CursorImpl cursor)
This txn doesn't store cursors.
|
abstract void |
Locker.registerCursor(CursorImpl cursor)
Tell this transaction about a cursor.
|
void |
ReadCommittedLocker.registerCursor(CursorImpl cursor)
Forwards this method to the transactional buddy.
|
void |
Txn.unRegisterCursor(CursorImpl cursor)
Decrease the counter if a Cursor is closed under this transaction.
|
void |
BasicLocker.unRegisterCursor(CursorImpl cursor)
This txn doesn't store cursors.
|
abstract void |
Locker.unRegisterCursor(CursorImpl cursor)
Remove a cursor from this txn.
|
void |
ReadCommittedLocker.unRegisterCursor(CursorImpl cursor)
Forwards this method to the transactional buddy.
|
Copyright © 2024. All rights reserved.