| Package | Description |
|---|---|
| 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.log |
INTERNAL: Low level data storage including log entry sequential
logging/writing, random reading/fetching, and sequential reading.
|
| com.sleepycat.je.log.entry |
INTERNAL: Classes for serializing/materializing log entries.
|
| com.sleepycat.je.rep.impl.node |
INTERNAL: Feeder and Replica node implementations.
|
| com.sleepycat.je.rep.stream |
INTERNAL: Feeding and syncup (init) of rep stream from master node to
other node types (replicas, etc).
|
| com.sleepycat.je.rep.subscription |
INTERNAL: Subscription of rep stream for use by stream API in NoSQL DB.
|
| 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).
|
| com.sleepycat.je.util.verify |
INTERNAL: Scheduled data verifier and Btree verification.
|
| Modifier and Type | Field and Description |
|---|---|
Set<DatabaseId> |
ReservedFileInfo.dbIds |
| Constructor and Description |
|---|
LNInfo(LN ln,
DatabaseId dbId,
byte[] key,
long expirationTime) |
| Modifier and Type | Field and Description |
|---|---|
static DatabaseId |
DbTree.ID_DB_ID |
static DatabaseId |
DbTree.NAME_DB_ID |
| Modifier and Type | Method and Description |
|---|---|
DatabaseId |
DbTree.getDbIdFromName(Locker nameLocker,
String databaseName,
HandleLocker handleLocker,
boolean writeLock)
Get a database ID given a database name.
|
DatabaseId |
DatabaseImpl.getId() |
| Modifier and Type | Method and Description |
|---|---|
Map<DatabaseId,String> |
DbTree.getDbNamesAndIds() |
| Modifier and Type | Method and Description |
|---|---|
int |
DatabaseId.compareTo(DatabaseId o)
see Comparable#compareTo
|
DatabaseImpl |
DbTree.dbRemove(Locker locker,
String databaseName,
DatabaseId checkId)
Stand alone and Master invocations.
|
void |
DbTree.deleteMapLN(DatabaseId id) |
DatabaseImpl |
DbTree.getDb(DatabaseId dbId)
Get a database object based on an id only.
|
DatabaseImpl |
DbTree.getDb(DatabaseId dbId,
long lockTimeout)
Get a database object based on an id only.
|
DatabaseImpl |
DbTree.getDb(DatabaseId dbId,
long lockTimeout,
Map<DatabaseId,DatabaseImpl> dbCache)
Get a database object based on an id only, caching the id-db mapping in
the given map.
|
void |
DbTree.removeReplicaDb(Locker locker,
String databaseName,
DatabaseId checkId,
DbOpReplicationContext repContext)
Replica invocations.
|
void |
DbTree.updateFromReplay(DatabaseId replayDbId) |
| Modifier and Type | Method and Description |
|---|---|
DatabaseImpl |
DbTree.getDb(DatabaseId dbId,
long lockTimeout,
Map<DatabaseId,DatabaseImpl> dbCache)
Get a database object based on an id only, caching the id-db mapping in
the given map.
|
void |
DbTree.releaseDbs(Map<DatabaseId,DatabaseImpl> dbCache)
Calls releaseDb for all DBs in the given map of DatabaseId to
DatabaseImpl.
|
| Constructor and Description |
|---|
DatabaseImpl(Locker locker,
String dbName,
DatabaseId id,
EnvironmentImpl envImpl,
DatabaseConfig dbConfig)
Create a database object for a new database.
|
| Modifier and Type | Method and Description |
|---|---|
DatabaseId |
CleanerFileReader.getDatabaseId()
Get the last databaseId seen by the reader.
|
DatabaseId |
LNFileReader.getDatabaseId()
Get the last databaseId seen by the reader.
|
DatabaseId |
INFileReader.getDatabaseId()
Get the last databaseId seen by the reader.
|
DatabaseId |
DbOpReplicationContext.getTruncateOldDbId() |
| Modifier and Type | Method and Description |
|---|---|
void |
DbOpReplicationContext.setTruncateOldDbId(DatabaseId truncateOldDbId) |
| Constructor and Description |
|---|
INFileReader(EnvironmentImpl env,
int readBufferSize,
long startLsn,
long finishLsn,
boolean trackIds,
long partialCkptStart,
long ckptEnd,
RecoveryUtilizationTracker tracker,
Set<DatabaseId> logVersion8UpgradeDbs,
AtomicBoolean logVersion8UpgradeDeltas)
Create with logVersion8UpgradeDbs and logVersion8UpgradeDeltas params.
|
| Modifier and Type | Method and Description |
|---|---|
DatabaseId |
SingleItemEntry.getDbId() |
DatabaseId |
LNLogEntry.getDbId() |
DatabaseId |
OldBINDeltaLogEntry.getDbId() |
DatabaseId |
INLogEntry.getDbId() |
DatabaseId |
LogEntry.getDbId() |
DatabaseId |
INContainingEntry.getDbId() |
DatabaseId |
ErasedLogEntry.getDbId() |
DatabaseId |
NameLNLogEntry.getTruncateOldDbId() |
| Constructor and Description |
|---|
LNLogEntry(LogEntryType entryType,
DatabaseId dbId,
Txn txn,
long abortLsn,
boolean abortKD,
byte[] abortKey,
byte[] abortData,
long abortVLSN,
int abortExpiration,
boolean abortExpirationInHours,
byte[] key,
T ln,
boolean embeddedLN,
int expiration,
boolean expirationInHours,
int priorSize,
long priorLsn) |
NameLNLogEntry(LogEntryType entryType,
DatabaseId dbId,
Txn txn,
long abortLsn,
boolean abortKD,
byte[] key,
NameLN nameLN,
int priorSize,
long priorLsn,
ReplicationContext repContext)
Constructor to write this entry.
|
| Modifier and Type | Method and Description |
|---|---|
DatabaseImpl |
DbCache.get(DatabaseId dbId,
Txn txn)
Returns the DatabaseImpl associated with the dbId, caching the return
value, if it's not already cached.
|
| Modifier and Type | Method and Description |
|---|---|
DatabaseId |
Protocol.DBIdResponse.getDbId() |
static DatabaseId |
FeederReplicaSyncup.getDBId(RepImpl repImpl,
String dbName)
Returns db id for given database
|
DatabaseId |
SubscriberFeederSyncup.getPartGenDBId()
Returns Partition Generation DB Id
|
DatabaseId |
OutputWireRecord.getReplicableDBId()
Returns the ID of the database containing the associated entry if it is
a replicable entry.
|
| Constructor and Description |
|---|
DBIdResponse(DatabaseId dbId) |
| Modifier and Type | Method and Description |
|---|---|
DatabaseId |
SubscriptionStat.getPartGenDBId() |
| Modifier and Type | Method and Description |
|---|---|
void |
SubscriptionCallback.processDel(VLSN vlsn,
byte[] key,
long txnId,
DatabaseId dbid)
Process a delete entry from stream
|
void |
SubscriptionCallback.processPut(VLSN vlsn,
byte[] key,
byte[] value,
long txnId,
DatabaseId dbid)
Process a put (insert or update) entry from stream
|
void |
SubscriptionStat.setPartGenDBId(DatabaseId dbId) |
| Modifier and Type | Method and Description |
|---|---|
DatabaseId |
BINReference.getDatabaseId() |
DatabaseId |
IN.getDatabaseId() |
DatabaseId |
OldBINDelta.getDbId() |
DatabaseId |
NameLN.getId() |
| Modifier and Type | Method and Description |
|---|---|
void |
NameLN.setId(DatabaseId id) |
| Constructor and Description |
|---|
NameLN(DatabaseId id)
In the ideal world, we'd have a base LN class so that this NameLN
doesn't have a superfluous data field, but we want to optimize the LN
class for size and speed right now.
|
| Modifier and Type | Method and Description |
|---|---|
DatabaseId |
INDeleteInfo.getDatabaseId() |
DatabaseId |
INDupDeleteInfo.getDatabaseId() |
| Modifier and Type | Field and Description |
|---|---|
protected Map<DatabaseId,DatabaseImpl> |
Txn.undoDatabases |
| Modifier and Type | Method and Description |
|---|---|
Map<DatabaseId,DatabaseImpl> |
Txn.getUndoDatabases() |
| Modifier and Type | Method and Description |
|---|---|
static UndoReader |
UndoReader.create(EnvironmentImpl envImpl,
long undoLsn,
Map<DatabaseId,DatabaseImpl> undoDatabases)
Set up an UndoReader when doing an undo or txn partial rollback for a
live txn.
|
| Constructor and Description |
|---|
TxnChain(long lastLoggedLsn,
long txnId,
long matchpoint,
Map<DatabaseId,DatabaseImpl> undoDatabases,
EnvironmentImpl envImpl) |
| Modifier and Type | Method and Description |
|---|---|
BtreeStats |
BtreeVerifier.verifyDatabase(String dbName,
DatabaseId dbId)
Verify one database.
|
Copyright © 2024. All rights reserved.