#include "ShortIdBlock.H"
#include <fstream>
Go to the source code of this file.
Functions | |
void | AcquireShortIdBlock (ShortIdBlock &bk, bool leafflag, bool local=false) throw () |
bool | RenewShortIdBlock (ShortIdBlock &block) throw () |
void | ReleaseShortIdBlock (ShortIdBlock &block, bool local=false) throw () |
int | DeleteAllShortIdsBut (ShortIdsFile sidfile, time_t lease) throw () |
void | ShortIdBlockCheckpoint (std::fstream &ckpt) throw () |
void | ShortIdServerInit () |
void | ShortIdServerInit2 () |
void | ShortIdServerExport (char *serverName=0) |
|
|
Definition at line 578 of file ShortIdImpl.C. References Text::cchars(), DBG_ALWAYS, Repos::dprintf(), and SourceOrDerived::open(). Referenced by DoDeletions(). |
|
Definition at line 263 of file ShortIdImpl.C. References ReadersWritersLock::acquireWrite(), Basics::mutex::lock(), ReadersWritersLock::releaseWrite(), RWLOCK_LOCKED_REASON, StableLock, and Basics::mutex::unlock(). Referenced by ShortIdBlock::release(), and ShortIdReceptionist(). |
|
Definition at line 204 of file ShortIdImpl.C. References ReadersWritersLock::acquireWrite(), VestaLog::commit(), Table< K, V >::Default::Delete(), LEASE_PERIOD, ShortIdBlockInfo::leaseExpires, Basics::mutex::lock(), VestaLog::put(), Table< K, V >::Default::Put(), ReadersWritersLock::releaseWrite(), RWLOCK_LOCKED_REASON, StableLock, VestaLog::start(), Basics::mutex::unlock(), and VRLog. Referenced by ShortIdReceptionist(). |
|
|
|
Definition at line 162 of file ShortIdServer.C. References Text::cchars(), DBG_ALWAYS, DEF_MAX_BLOCKED, DEF_MAX_RUNNING, Repos::dprintf(), LimService::Forked_Run(), VestaConfig::get(), VestaConfig::get_int(), VestaConfig::get_Text(), VestaConfig::failure::msg, ShortIdFailure(), ShortIdReceptionist(), STACK_SIZE, and ShortIdSRPC::version. Referenced by main(). |
|
Definition at line 603 of file ShortIdImpl.C. References DBG_ALWAYS, Repos::dprintf(), VestaConfig::get(), randDat, randState, and RegisterRecoveryCallback(). Referenced by main(). |
|
Definition at line 633 of file ShortIdImpl.C. References Basics::thread::fork(), and LandlordThread(). Referenced by main(). |