xct_i Class Reference

List of all members.

Detailed Description

Iterator over transaction list.

This is exposed for the purpose of coping with out-of-log-space conditions. See Running Out of Log Space.

Examples:

log_exceed.cpp.

Definition at line 797 of file xct.h.

Public Member Functions

bool locked_by_me () const
 True if this thread holds the transaction list mutex.
void never_mind ()
 Release transaction list mutex if this thread holds it.
xct_tcurr () const
 Get transaction at cursor.
xct_tnext ()
 Advance cursor.
NORET xct_i (bool locked_accesses)
 Constructor.
NORET ~xct_i ()
 Desctructor. Calls never_mind() if necessary.


Constructor & Destructor Documentation

NORET xct_i::xct_i ( bool  locked_accesses  )  [inline]

Constructor.

Parameters:
[in] locked_accesses Set to true if you want this iterator to be safe, false if you don't care or if you already hold the transaction-list mutex.

Definition at line 845 of file xct.h.

References w_assert1.


The documentation for this class was generated from the following file:
Generated on Wed Jul 7 17:22:44 2010 for Shore Storage Manager by  doxygen 1.4.7