#include "Basics.H"
#include "SourceOrDerived.H"
Go to the source code of this file.
Functions | |
void | InitVRWeed () |
int | KeepDerived (ShortIdsFile ds, time_t dt, bool force) |
void | Checkpoint () throw () |
void | CheckpointServer () throw () |
void | GetWeedingState (ShortIdsFile &ds, time_t &dt, ShortIdsFile &ss, time_t &st, bool &sourceWeedInProgress, bool &deletionsInProgress, bool &deletionsDone, bool &checkpointInProgress) throw () |
int | SourceWeed () throw () |
int | DoDeletions () throw () |
|
|
|
Definition at line 384 of file VRWeed.C. References ReadersWritersLock::acquireWrite(), Basics::cond::broadcast(), Text::cchars(), FdCache::close(), VestaLog::commit(), DeleteAllShortIdsBut(), DoDeletions(), Repos::dprintf(), SourceOrDerived::fdcreate(), VestaConfig::get(), Basics::mutex::lock(), NullShortId, VestaLog::put(), RWLOCK_LOCKED_REASON, SourceOrDerived::shortIdToName(), StableLock, VestaLog::start(), Basics::mutex::unlock(), VRLog, and Basics::cond::wait(). Referenced by DoDeletions(), KeepDerived(), and main(). |
|
Definition at line 619 of file VRWeed.C. References Basics::mutex::lock(), and Basics::mutex::unlock(). Referenced by ShortIdBlock::getWeedingState(), and ShortIdReceptionist(). |
|
|
Definition at line 199 of file VRWeed.C. References FdCache::close(), DBG_ALWAYS, DoDeletions(), Repos::dprintf(), SourceOrDerived::fdopen(), Basics::mutex::lock(), NullShortId, SourceWeed(), Basics::mutex::unlock(), and Basics::cond::wait(). Referenced by ShortIdBlock::keepDerived(), and ShortIdReceptionist(). |
|
Definition at line 240 of file VRWeed.C. References ReadersWritersLock::acquireWrite(), Basics::cond::broadcast(), DBG_ALWAYS, Repos::dprintf(), SourceOrDerived::fdcreate(), VMemPool::gc(), Basics::mutex::lock(), VDirVolatileRoot::lockAll(), ReadersWritersLock::releaseWrite(), RWLOCK_LOCKED_REASON, StableLock, Basics::mutex::unlock(), VDirVolatileRoot::unlockAll(), VolatileRootLock, and Basics::cond::wait(). Referenced by KeepDerived(), and main(). |