#include <LogicalTxnStoredStructs.h>
Public Types | |
| enum | Event { EVENT_ROLLBACK, EVENT_COMMIT, EVENT_CHECKPOINT } |
Public Attributes | |
| Event | event |
| Transaction event which caused this memento to be created. | |
| TxnId | txnId |
| Unique identifier for committed transaction. | |
| SegStreamPosition | logPosition |
| Position of end of transaction log as of event occurrence. | |
| bool | longLog |
| If true, log data for this txn is stored separately. | |
| uint | cbActionLast |
| Number of bytes in last action recorded. | |
| uint | nParticipants |
| Number of participants which have joined txn so far. | |
Definition at line 55 of file LogicalTxnStoredStructs.h.
Definition at line 57 of file LogicalTxnStoredStructs.h.
00057 { 00058 EVENT_ROLLBACK, 00059 EVENT_COMMIT, 00060 EVENT_CHECKPOINT 00061 };
Transaction event which caused this memento to be created.
Definition at line 66 of file LogicalTxnStoredStructs.h.
Referenced by LogicalTxnLog::checkpointTxn(), LogicalTxnLog::commitTxn(), and LogicalTxnLog::rollbackTxn().
Unique identifier for committed transaction.
Definition at line 71 of file LogicalTxnStoredStructs.h.
Referenced by LogicalTxnLog::checkpointTxn(), LogicalTxnLog::commitTxn(), and LogicalTxnLog::rollbackTxn().
Position of end of transaction log as of event occurrence.
Definition at line 76 of file LogicalTxnStoredStructs.h.
Referenced by LogicalTxnLog::checkpointTxn(), LogicalTxnLog::commitTxn(), LogicalRecoveryLog::redoTxn(), LogicalTxnLog::rollbackTxn(), and LogicalRecoveryLog::undoTxn().
If true, log data for this txn is stored separately.
Otherwise, for EVENT_COMMIT, it's stored immediately after this header.
Definition at line 82 of file LogicalTxnStoredStructs.h.
Referenced by LogicalTxnLog::checkpointTxn(), LogicalTxnLog::commitTxn(), and LogicalTxnLog::rollbackTxn().
Number of bytes in last action recorded.
Definition at line 87 of file LogicalTxnStoredStructs.h.
Referenced by LogicalTxnLog::checkpointTxn(), LogicalTxnLog::commitTxn(), LogicalRecoveryLog::redoTxn(), LogicalTxnLog::rollbackTxn(), and LogicalRecoveryLog::undoTxn().
Number of participants which have joined txn so far.
Definition at line 92 of file LogicalTxnStoredStructs.h.
Referenced by LogicalTxnLog::checkpointTxn(), LogicalTxnLog::commitTxn(), LogicalRecoveryLog::redoTxn(), and LogicalTxnLog::rollbackTxn().
1.5.1