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

CacheWorker Class Reference

#include <CacheS.H>

Inheritance diagram for CacheWorker:

CleanWorker FlushWorker List of all members.

Public Member Functions

 CacheWorker (CacheS *cs) throw ()
void Start (const char *reason) throw ()
void Finish () throw ()

Protected Attributes

Basics::thread th
CacheScs
Basics::mutex mu
bool argsReady
Basics::cond workToDo
const char * reason

Constructor & Destructor Documentation

CacheWorker::CacheWorker CacheS cs  )  throw ()
 

Definition at line 3131 of file CacheS.C.

References Basics::mutex::lock(), mu, and Basics::mutex::unlock().


Member Function Documentation

void CacheWorker::Finish  )  throw ()
 

Definition at line 3150 of file CacheS.C.

References argsReady, Basics::mutex::lock(), mu, reason, and Basics::mutex::unlock().

Referenced by CacheS_CleanCacheLogWorker(), and CacheS_FlushWorker().

void CacheWorker::Start const char *  reason  )  throw ()
 

Definition at line 3140 of file CacheS.C.

References Basics::mutex::lock(), mu, and Basics::mutex::unlock().

Referenced by CacheS::TryCleanCacheLog().


Member Data Documentation

bool CacheWorker::argsReady [protected]
 

Definition at line 675 of file CacheS.H.

Referenced by CacheS_CleanCacheLogWorker(), CacheS_FlushWorker(), and Finish().

CacheS* CacheWorker::cs [protected]
 

Definition at line 671 of file CacheS.H.

Referenced by CacheS_CleanCacheLogWorker(), and CacheS_FlushWorker().

Basics::mutex CacheWorker::mu [protected]
 

Definition at line 674 of file CacheS.H.

Referenced by CacheS_CleanCacheLogWorker(), CacheS_FlushWorker(), and Finish().

const char* CacheWorker::reason [protected]
 

Definition at line 677 of file CacheS.H.

Referenced by Finish().

Basics::thread CacheWorker::th [protected]
 

Definition at line 670 of file CacheS.H.

Basics::cond CacheWorker::workToDo [protected]
 

Definition at line 676 of file CacheS.H.

Referenced by CacheS_CleanCacheLogWorker(), and CacheS_FlushWorker().


The documentation for this class was generated from the following files:
Generated on Mon May 8 00:49:08 2006 for Vesta by  doxygen 1.4.2