Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

DirShortId.H File Reference

#include "SourceOrDerived.H"
#include "ShortIdBlock.H"
#include "FP.H"
#include <fstream>

Go to the source code of this file.

Functions

void InitDirShortId () throw ()
ShortId NewDirShortId (const FP::Tag &fptag, Bit32 sp) throw ()
Bit32 GetDirShortId (ShortId sid) throw ()
void SetDirShortId (ShortId sid, Bit32 sp) throw ()
void LogAllDirShortIds (char *tag)
void CheckpointAllDirShortIds (Bit32 &nextSP, std::fstream &ckpt)
void DeleteDirShortId (ShortId sid) throw ()
void DeleteAllDirShortIds () throw ()


Function Documentation

void CheckpointAllDirShortIds Bit32 nextSP,
std::fstream &  ckpt
 

void DeleteAllDirShortIds  )  throw ()
 

Definition at line 166 of file DirShortId.C.

References Table< K, V >::Default::Init(), Basics::mutex::lock(), Table< K, V >::Default::Size(), and Basics::mutex::unlock().

Referenced by VMemPool::rebuildDirShortIdTable().

void DeleteDirShortId ShortId  sid  )  throw ()
 

Definition at line 115 of file DirShortId.C.

References Table< K, V >::Default::Delete(), Basics::mutex::lock(), and Basics::mutex::unlock().

Referenced by VDirChangeable::sweepCallback().

Bit32 GetDirShortId ShortId  sid  )  throw ()
 

Definition at line 88 of file DirShortId.C.

References Table< K, V >::Default::Get(), Basics::mutex::lock(), DirShortIdInfo::sp, and Basics::mutex::unlock().

void InitDirShortId  )  throw ()
 

Definition at line 61 of file DirShortId.C.

References NEW.

Referenced by main().

void LogAllDirShortIds char *  tag  ) 
 

Definition at line 127 of file DirShortId.C.

References VestaLog::commit(), Basics::mutex::lock(), Table< K, V >::Iterator::Next(), VestaLog::put(), VestaLog::start(), Basics::mutex::unlock(), and VRLog.

ShortId NewDirShortId const FP::Tag fptag,
Bit32  sp
throw ()
 

Definition at line 70 of file DirShortId.C.

References ShortIdBlock::dirFlag, Table< K, V >::Default::Get(), Basics::mutex::lock(), Table< K, V >::Default::Put(), ShortIdKey::sid, DirShortIdInfo::sp, and Basics::mutex::unlock().

Referenced by VDirChangeable::copyMutableToImmutable(), and VDirChangeable::insertImmutableDirectory().

void SetDirShortId ShortId  sid,
Bit32  sp
throw ()
 

Definition at line 103 of file DirShortId.C.

References Basics::mutex::lock(), Table< K, V >::Default::Put(), DirShortIdInfo::sp, and Basics::mutex::unlock().

Referenced by VDirChangeable::collapse(), and VDirChangeable::rebuildCallback().


Generated on Mon May 8 00:49:03 2006 for Vesta by  doxygen 1.4.2