CacheWorker Class Reference

#include <CacheS.H>

Inheritance diagram for CacheWorker:

Inheritance graph
[legend]
Collaboration diagram for CacheWorker:

Collaboration graph
[legend]
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

Detailed Description

Definition at line 656 of file CacheS.H.


Constructor & Destructor Documentation

CacheWorker::CacheWorker ( CacheS cs  )  throw ()

Definition at line 3104 of file CacheS.C.

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

Here is the call graph for this function:


Member Function Documentation

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

Definition at line 3113 of file CacheS.C.

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

Referenced by CacheS::TryCleanCacheLog().

Here is the call graph for this function:

Here is the caller graph for this function:

void CacheWorker::Finish (  )  throw ()

Definition at line 3123 of file CacheS.C.

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

Referenced by CacheS_CleanCacheLogWorker(), and CacheS_FlushWorker().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

Basics::thread CacheWorker::th [protected]

Definition at line 673 of file CacheS.H.

CacheS* CacheWorker::cs [protected]

Definition at line 674 of file CacheS.H.

Referenced by CacheS_CleanCacheLogWorker(), and CacheS_FlushWorker().

Basics::mutex CacheWorker::mu [protected]

Definition at line 677 of file CacheS.H.

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

bool CacheWorker::argsReady [protected]

Definition at line 678 of file CacheS.H.

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

Basics::cond CacheWorker::workToDo [protected]

Definition at line 679 of file CacheS.H.

Referenced by CacheS_CleanCacheLogWorker(), and CacheS_FlushWorker().

const char* CacheWorker::reason [protected]

Definition at line 680 of file CacheS.H.

Referenced by Finish().


The documentation for this class was generated from the following files:
Generated on Fri May 25 00:50:57 2007 for Vesta by  doxygen 1.5.1