| 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.evictor |
INTERNAL: Evicts data from the main and off-heap caches when they overflow.
|
| com.sleepycat.je.log.entry |
INTERNAL: Classes for serializing/materializing log entries.
|
| com.sleepycat.je.tree |
INTERNAL: Btree data structure (the JE main cache), including persistent
nodes classes, and Btree access methods.
|
| com.sleepycat.je.tree.dupConvert |
INTERNAL: Defunct Btree classes for old duplicate Btrees, only used during
recovery.
|
| com.sleepycat.je.txn |
INTERNAL: Transaction management and locking (concurrency control).
|
| Modifier and Type | Method and Description |
|---|---|
static OperationResult |
DbInternal.putForReplay(Cursor cursor,
DatabaseEntry key,
DatabaseEntry data,
LN ln,
int expiration,
boolean expirationInHours,
PutMode putMode,
ReplicationContext repContext)
Proxy to Cursor.putForReplay()
|
| Constructor and Description |
|---|
LNInfo(LN ln,
DatabaseId dbId,
byte[] key,
long expirationTime) |
| Modifier and Type | Method and Description |
|---|---|
LN |
DbType.createDeletedLN(EnvironmentImpl envImpl)
Creates a deleted LN for use in an optimization in CursorImpl.delete.
|
LN |
DbType.createUpdatedLN(EnvironmentImpl envImpl,
byte[] newData)
Creates an updated LN for use in an optimization in
CursorImpl.putCurrentAlreadyLatchedAndLocked.
|
LN |
CursorImpl.getCurrentLN(boolean isLatched,
boolean unlatch) |
LN |
CursorImpl.lockAndGetCurrentLN(LockType lockType)
Retrieve the current LN.
|
| Modifier and Type | Method and Description |
|---|---|
OperationResult |
CursorImpl.insertOrUpdateRecord(DatabaseEntry key,
DatabaseEntry data,
LN ln,
ExpirationInfo expInfo,
PutMode putMode,
DatabaseEntry returnOldData,
DatabaseEntry returnNewData,
ReplicationContext repContext)
Insert or update a given record.
|
boolean |
CursorImpl.insertRecord(byte[] key,
LN ln,
boolean blindInsertion,
ReplicationContext repContext)
Insert the given record (key + LN) in the tree or return false if the
key is already present.
|
void |
SortedLSNTreeWalker.TreeNodeProcessor.processDirtyDeletedLN(long childLSN,
LN ln,
byte[] lnKey) |
| Modifier and Type | Method and Description |
|---|---|
LN |
OffHeapCache.loadLN(BIN bin,
int index,
CacheMode cacheMode) |
| Modifier and Type | Method and Description |
|---|---|
void |
OffHeapCache.freeRedundantLN(BIN bin,
int index,
LN ln,
CacheMode cacheMode) |
boolean |
OffHeapCache.storeEvictedLN(BIN bin,
int index,
LN ln)
Called before eviction of an LN from main cache to provide an
opportunity to store the LN off-heap.
|
boolean |
OffHeapCache.storePreloadedLN(BIN bin,
int index,
LN ln)
Called when an LN has been fetched from disk and should be stored
off-heap.
|
| Modifier and Type | Class and Description |
|---|---|
class |
LNLogEntry<T extends LN>
An LNLogEntry is the in-memory image of an LN logrec describing a write op
(insertion, update, or deletion) performed by a locker T on a record R.
|
| Modifier and Type | Method and Description |
|---|---|
static <T extends LN> |
LNLogEntry.create(Class<T> cls)
Creates an instance to read an entry.
|
| Modifier and Type | Method and Description |
|---|---|
LN |
LNLogEntry.getLN() |
LN |
LNLogEntry.getMainItem() |
| Modifier and Type | Class and Description |
|---|---|
class |
FileSummaryLN
A FileSummaryLN represents a Leaf Node in the UtilizationProfile database.
|
class |
MapLN
{@literal
A MapLN represents a Leaf Node in the JE Db Mapping Tree.
|
class |
NameLN
A NameLN represents a Leaf Node in the name->database id mapping
tree.
|
class |
VersionedLN
VersionedLN is used to provide an in-memory representation of an LN that
makes its VLSN available through btree access.
|
| Modifier and Type | Method and Description |
|---|---|
LN |
IN.fetchLN(int idx,
CacheMode cacheMode)
Returns the target of the idx'th entry, fetching from disk if necessary.
|
LN |
IN.getLN(int idx,
CacheMode cacheMode)
Return the idx'th LN target, enforcing rules defined by the cache modes
for the LN.
|
static LN |
FileSummaryLN.makeDeletedLN()
Creates a deleted FileSummaryLN.
|
static LN |
LN.makeLN(EnvironmentImpl envImpl,
byte[] dataParam)
Create a new LN from a byte array.
|
static LN |
LN.makeLN(EnvironmentImpl envImpl,
DatabaseEntry dbt)
Create a new LN from a DatabaseEntry.
|
| Modifier and Type | Method and Description |
|---|---|
void |
IN.insertRecord(int idx,
LN newLN,
long newLSN,
int newSize,
byte[] newKey,
byte[] newData,
int expiration,
boolean expirationInHours)
Update the idx slot of this BIN to reflect a record insertion in an
existing KD slot.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DupCountLN
A DupCountLN represents the transactional part of the root of a
duplicate tree, specifically the count of dupes in the tree.
|
| Modifier and Type | Field and Description |
|---|---|
LN |
UndoReader.ln |
Copyright © 2024. All rights reserved.