LogicalTxnEventMemento Struct Reference

Log record describing a transaction event. More...

#include <LogicalTxnStoredStructs.h>

List of all members.

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.


Detailed Description

Log record describing a transaction event.

Definition at line 55 of file LogicalTxnStoredStructs.h.


Member Enumeration Documentation

enum LogicalTxnEventMemento::Event

Enumerator:
EVENT_ROLLBACK 
EVENT_COMMIT 
EVENT_CHECKPOINT 

Definition at line 57 of file LogicalTxnStoredStructs.h.

00057                {
00058         EVENT_ROLLBACK,
00059         EVENT_COMMIT,
00060         EVENT_CHECKPOINT
00061     };


Member Data Documentation

Event LogicalTxnEventMemento::event

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().

TxnId LogicalTxnEventMemento::txnId

Unique identifier for committed transaction.

Definition at line 71 of file LogicalTxnStoredStructs.h.

Referenced by LogicalTxnLog::checkpointTxn(), LogicalTxnLog::commitTxn(), and LogicalTxnLog::rollbackTxn().

SegStreamPosition LogicalTxnEventMemento::logPosition

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().

bool LogicalTxnEventMemento::longLog

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().

uint LogicalTxnEventMemento::cbActionLast

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().

uint LogicalTxnEventMemento::nParticipants

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().


The documentation for this struct was generated from the following file:
Generated on Mon Jun 22 04:00:39 2009 for Fennel by  doxygen 1.5.1