| Package | Description |
|---|---|
| com.sleepycat.je |
Foundation for creating environments, databases and transactions; provides
cursor based data access.
|
| 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.entry |
INTERNAL: Classes for serializing/materializing log entries.
|
| com.sleepycat.je.recovery |
INTERNAL: Performs recovery/startup processing during Environment open, and
checkpoints to bound recovery time.
|
| com.sleepycat.je.rep.impl |
INTERNAL: Top level HA implementation classes.
|
| 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.txn |
INTERNAL: HA Txn/Locker subclasses for enforcing consistency and durability
constraints.
|
| com.sleepycat.je.rep.utilint |
INTERNAL: Command line and programmatic utilities.
|
| com.sleepycat.je.txn |
INTERNAL: Transaction management and locking (concurrency control).
|
| Modifier and Type | Method and Description |
|---|---|
static Txn |
DbInternal.getTxn(Transaction transaction) |
| Constructor and Description |
|---|
Transaction(Environment env,
Txn txn)
For internal use.
|
| Modifier and Type | Method and Description |
|---|---|
Txn |
EnvironmentImpl.createReplayTxn(long txnId)
For replicated environments only; only the overridden method should
ever be called.
|
Txn |
EnvironmentImpl.createRepTxn(TransactionConfig config,
long mandatedId)
For replicated environments only; only the overridden method should
ever be called.
|
Txn |
EnvironmentImpl.createRepUserTxn(TransactionConfig config)
For replicated environments only; only the overridden method should
ever be called.
|
Txn |
EnvironmentImpl.txnBegin(Transaction parent,
TransactionConfig txnConfig)
Transactional services.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
TriggerManager.runAbortTriggers(Txn txn)
Invokes the trigger methods associated with the abort of a transaction.
|
static void |
TriggerManager.runCommitTriggers(Txn txn)
Invokes the trigger methods associated with the commit of a transaction.
|
| Modifier and Type | Method and Description |
|---|---|
Txn |
LNLogEntry.getUserTxn() |
| 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 | Field and Description |
|---|---|
Map<Long,Txn> |
RecoveryInfo.replayTxns
ReplayTxns that are resurrected during recovery processing, for
replication.
|
| Modifier and Type | Method and Description |
|---|---|
Txn |
RepImpl.createReplayTxn(long txnId)
Create a ReplayTxn for recovery processing.
|
Txn |
RepImpl.createRepUserTxn(TransactionConfig config)
Create an appropriate type of Replicated transaction.
|
| 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 |
|---|---|
void |
FeederTxns.clearTransactionAcks(Txn txn) |
| Modifier and Type | Class and Description |
|---|---|
class |
MasterTxn
A MasterTxn represents:
- a user initiated Txn executed on the Master node, when local-write and
read-only are not configured, or
- an auto-commit Txn on the Master node for a replicated DB.
|
class |
ReadonlyTxn
A ReadonlyTxn represents
- a user initiated Txn executed on the Master node, when local-write or
read-only is configured, or
- a user initiated Txn executed on the Replica node, whether or not
local-write is configured, or
- an auto-commit Txn on a Replica node for a replicated DB.
|
class |
ReplayTxn
Used for replaying replicated operations at replica nodes.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ReplayTxn.copyDatabasesForConversion(Txn masterTxn) |
| Modifier and Type | Class and Description |
|---|---|
class |
SimpleTxnMap<T extends Txn>
SimpleTxnMap provides a customized (but limited functionality) map that's
well suited to the tracking of open transactions.
|
| Modifier and Type | Class and Description |
|---|---|
class |
PreparedTxn
A PreparedTxn is used at recovery for processing a TXN_PREPARE log entry.
|
| Modifier and Type | Method and Description |
|---|---|
<T extends Txn> |
TxnManager.getTxns(Class<T> txnClass)
Examine the transaction set and return Txn that match the class or are
subclasses of that class.
|
| Modifier and Type | Method and Description |
|---|---|
static Txn |
Txn.createAutoTxn(EnvironmentImpl envImpl,
TransactionConfig config,
ReplicationContext repContext) |
static Txn |
Txn.createLocalAutoTxn(EnvironmentImpl envImpl,
TransactionConfig config) |
static Txn |
Txn.createLocalTxn(EnvironmentImpl envImpl,
TransactionConfig config) |
Txn |
TxnManager.getTxnFromXid(Xid xid)
Retrieve a Txn object from an Xid.
|
Txn |
BuddyLocker.getTxnLocker()
Forwards this call to the buddy locker.
|
Txn |
Txn.getTxnLocker()
This is a transactional locker.
|
Txn |
BasicLocker.getTxnLocker()
No transactional locker is available.
|
abstract Txn |
Locker.getTxnLocker()
Returns the underlying Txn if the locker is transactional, or null if
the locker is non-transactional.
|
Txn |
TxnManager.txnBegin(Transaction parent,
TransactionConfig txnConfig)
Create a new transaction.
|
| Modifier and Type | Method and Description |
|---|---|
void |
TxnManager.registerTxn(Txn txn)
Called when txn is created.
|
void |
TxnManager.registerXATxn(Xid xid,
Txn txn,
boolean isPrepare)
Called when txn is created.
|
Copyright © 2024. All rights reserved.