LockHashNode Class Reference

#include <Lock.h>

Collaboration diagram for LockHashNode:

Collaboration graph
[legend]

Public Member Functions

void print ()

Data Fields

void * ptrToTuple_
LockInfo lInfo_
LockHashNodenext_

Detailed Description

Definition at line 36 of file Lock.h.


Member Function Documentation

void LockHashNode::print (  )  [inline]

Definition at line 42 of file Lock.h.

References lInfo_, LockInfo::noOfReaders_, ptrToTuple_, LockInfo::waitReaders_, and LockInfo::waitWriters_.

Referenced by TransHasNode::print(), Transaction::printDebugInfo(), and LockManager::printDebugInfo().

00043     { 
00044         printf("<Lock Node>\n");
00045         printf("  <Tuple> %x </Tuple>\n", ptrToTuple_);
00046         printf("  <NoOfReaders> %d </NoOfReaders>\n", lInfo_.noOfReaders_);
00047         printf("  <WaitReaders> %x </WaitReaders>\n", lInfo_.waitReaders_);
00048         printf("  <WaitWriters> %x </WaitWriters>\n", lInfo_.waitWriters_);
00049         printf("</Lock Node>\n");
00050     }

Here is the caller graph for this function:


Field Documentation

LockInfo LockHashNode::lInfo_

Definition at line 40 of file Lock.h.

Referenced by LockManager::getExclusiveLock(), LockManager::getSharedLock(), LockManager::isExclusiveLocked(), print(), and LockManager::releaseLock().

LockHashNode* LockHashNode::next_

Definition at line 41 of file Lock.h.

Referenced by LockManager::getExclusiveLock(), LockManager::getSharedLock(), LockManager::isExclusiveLocked(), LockListIter::next(), LockManager::printDebugInfo(), LockManager::printUsageStatistics(), and LockManager::releaseLock().

void* LockHashNode::ptrToTuple_

Definition at line 39 of file Lock.h.

Referenced by LockManager::getExclusiveLock(), LockManager::getSharedLock(), LockManager::isExclusiveLocked(), print(), LockManager::releaseLock(), and Transaction::removeFromHasList().


The documentation for this class was generated from the following file:
Generated on Mon Jun 9 22:48:26 2008 for csql by  doxygen 1.4.7