| Home >> All >> org >> apache >> derby >> iapi >> store >> raw >> [ xact Javadoc ] |
org.apache.derby.iapi.store.raw.xact: Javadoc index of package org.apache.derby.iapi.store.raw.xact.
Package Samples:
org.apache.derby.iapi.store.raw.xact
Classes:
RawTransaction: RawTransaction is the form of Transaction used within the raw store. This allows the break down of RawStore functionality into (at least) three modules (Transactions, Data, Log) without exposing internal information on the external interface. The transaction will notify any Observer's just before the transaction is committed, aborted or a rollback to savepoint occurs. The argument passed to the update() method of the Observer's will be one of RawTransaction.COMMIT - transaction is committing RawTransaction.ABORT - transaction is aborting RawTransaction.SAVEPOINTROLLBACK - transaction is being rolled ...
TransactionId: A transaction identifier that is only unique within a raw store, do not ever pass this out of raw store. During reboot, all transaction Ids that have ever generated a log record will not be reused. However, if you put away the transaction Id of a read only transaction, then the is no guarentee that the transactionId won't be reused when the system reboots. It is much safer to store away the ExternalTrasanctionId rather than the transactionId. The equals() method for TransactionId implements by value equality. MT - immutable
TransactionFactory: This module is intended to be used only within the RawStore. RawStore functionality is accessed only through the RawStoreFactory interface. The transaction manager is responsible for: Generating unique transaction identifiers. Keeping a list of all open transactions within the raw store.
| Home | Contact Us | Privacy Policy | Terms of Service |