#include <VDirVolatileRoot.H>
Inheritance diagram for VDirVolatileRoot:
Public Member Functions | |
void | resync (AccessControl::Identity who=NULL) throw () |
VestaSource::errorCode | lookup (Arc arc, VestaSource *&result, AccessControl::Identity who=NULL, unsigned int indexOffset=0) throw () |
VestaSource::errorCode | lookupIndex (unsigned int index, VestaSource *&result, char *arcbuf=NULL) throw () |
VestaSource::errorCode | list (unsigned int firstIndex, VestaSource::listCallback callback, void *closure, AccessControl::Identity who=NULL, bool deltaOnly=false, unsigned int indexOffset=0) throw () |
time_t | timestamp () throw () |
void | mark (bool byName=true, ArcTable *hidden=NULL) throw () |
Bit32 | checkpoint (Bit32 &nextSP, std::fstream &ckpt) throw () |
VestaSource::errorCode | createVolatileDirectory (char *hostname, char *port, Bit64 handle, VestaSource *&result, time_t timestamp, LongId::lockKindTag lockKind, ReadersWritersLock **lock, bool readOnlyExisting) throw () |
VestaSource::errorCode | deleteIndex (unsigned int index) throw () |
VestaSource::errorCode | lookupIndexAndLock (unsigned int index, VestaSource *&result, LongId::lockKindTag lockKind, ReadersWritersLock **lock) throw () |
virtual VestaSource * | copy () throw () |
Static Public Member Functions | |
static void | init () throw () |
static void | finishCheckpoint (std::fstream &ckpt) throw () |
static void | lockAll () |
static void | unlockAll () |
|
Reimplemented from VestaSource. Definition at line 620 of file VDirVolatileRoot.C. References VDirChangeable::checkpoint(), DBG_ALWAYS, Repos::dprintf(), VMemPool::lengthenPointer(), Table< K, V >::Iterator::Next(), VolRootEntry::srep, and VestaSource::volatileDirectory. |
|
Reimplemented from VestaSource. Definition at line 773 of file VDirVolatileRoot.C. References NEW. |
|
|
|
Definition at line 645 of file VDirVolatileRoot.C. References INDEX_BLOCKSIZE. Referenced by CheckpointServer(). |
|
Reimplemented from VestaSource. Definition at line 756 of file VDirVolatileRoot.C. References Basics::thread::fork(), GardenerThread(), and RegisterRecoveryCallback(). Referenced by VestaSource::init(). |
|
Reimplemented from VestaSource. Definition at line 299 of file VDirVolatileRoot.C. References Table< K, V >::Default::Get(), VolRootEntry::index, MAX_ARC_LEN, VolRootEntry::next, NullShortId, VRErrorCode::ok, VolRootEntry::readOnlyExisting, VestaSource::volatileDirectory, and VestaSource::volatileROEDirectory. |
|
Definition at line 563 of file VDirVolatileRoot.C. References ReadersWritersLock::acquireWrite(), VolRootEntry::lock, Table< K, V >::Iterator::Next(), and VolatileRootLock. Referenced by CheckpointServer(), and SourceWeed(). |
|
Reimplemented from VestaSource. Definition at line 259 of file VDirVolatileRoot.C. References VolRootEntry::fptag, Table< K, V >::Default::Get(), VMemPool::lengthenPointer(), NEW_CONSTR, VRErrorCode::notFound, VRErrorCode::ok, VolRootEntry::readOnlyExisting, VolRootEntry::sidref, VolRootEntry::srep, VestaSource::volatileDirectory, and VestaSource::volatileROEDirectory. |
|
Reimplemented from VestaSource. Definition at line 168 of file VDirVolatileRoot.C. References VolRootEntry::fptag, Table< K, V >::Default::Get(), VMemPool::lengthenPointer(), NEW_CONSTR, VRErrorCode::notFound, VRErrorCode::ok, VolRootEntry::readOnlyExisting, VolRootEntry::sidref, VolRootEntry::srep, VestaSource::volatileDirectory, and VestaSource::volatileROEDirectory. |
|
|
Reimplemented from VestaSource. Definition at line 603 of file VDirVolatileRoot.C. References VMemPool::lengthenPointer(), VDirChangeable::mark(), Table< K, V >::Iterator::Next(), VDirChangeable::setHasName(), VolRootEntry::srep, and VestaSource::volatileDirectory. |
|
Reimplemented from VestaSource. Definition at line 51 of file VDirVolatileRoot.H. |
|
Reimplemented from VestaSource. Definition at line 64 of file VDirVolatileRoot.H. |
|
Definition at line 575 of file VDirVolatileRoot.C. References VolRootEntry::lock, Table< K, V >::Iterator::Next(), ReadersWritersLock::releaseWrite(), and VolatileRootLock. Referenced by CheckpointServer(), and SourceWeed(). |