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

VDirVolatileRoot.C File Reference

#include "VDirVolatileRoot.H"
#include "VDirChangeable.H"
#include "VDirEvaluator.H"
#include "VMemPool.H"
#include "VestaLog.H"
#include "Recovery.H"
#include "VRConcurrency.H"
#include "IndexKey.H"
#include "logging.H"
#include "ShortIdRefCount.H"
#include "lock_timing.H"
#include <BufStream.H>

Go to the source code of this file.

Defines

#define INDEX_BLOCKSIZE   1024
#define GARDENER_SLEEP   (60*60)

Typedefs

typedef Table< IndexKey, VolRootEntry
* >::Default 
VolRootTable
typedef Table< IndexKey, VolRootEntry
* >::Iterator 
VolRootIter

Functions

void * GardenerThread (void *arg) throw ()


Define Documentation

#define GARDENER_SLEEP   (60*60)
 

Definition at line 160 of file VDirVolatileRoot.C.

Referenced by GardenerThread().

#define INDEX_BLOCKSIZE   1024
 

Definition at line 159 of file VDirVolatileRoot.C.

Referenced by VDirVolatileRoot::createVolatileDirectory(), and VDirVolatileRoot::finishCheckpoint().


Typedef Documentation

typedef Table<IndexKey, VolRootEntry*>::Iterator VolRootIter
 

Definition at line 153 of file VDirVolatileRoot.C.

typedef Table<IndexKey, VolRootEntry*>::Default VolRootTable
 

Definition at line 152 of file VDirVolatileRoot.C.


Function Documentation

void* GardenerThread void *  arg  )  throw ()
 

Definition at line 654 of file VDirVolatileRoot.C.

References ReadersWritersLock::acquireRead(), ReadersWritersLock::acquireWrite(), VDirEvaluator::alive(), VolRootEntry::creationTime, Table< K, V >::Default::Delete(), VDirChangeable::freeTree(), VDirEvaluator::freeTree(), GARDENER_SLEEP, VDirChangeable::getBase(), IndexKey::index, VMemPool::lengthenPointer(), VolRootEntry::lock, NEW_PTRFREE_ARRAY, Table< K, V >::Iterator::Next(), VRErrorCode::ok, VDirEvaluator::purge(), VolRootEntry::readOnlyExisting, ReadersWritersLock::releaseRead(), ReadersWritersLock::releaseWrite(), RWLOCK_LOCKED_REASON, Table< K, V >::Default::Size(), VolRootEntry::srep, ReadersWritersLock::tryWrite(), VolRootEntry::unlink(), VestaSource::volatileDirectory, VestaSource::volatileROEDirectory, and VolatileRootLock.

Referenced by VDirVolatileRoot::init().


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