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

WeederC Class Reference

#include <WeederC.H>

List of all members.

Public Member Functions

 WeederC (CacheIntf::DebugLevel debug=CacheIntf::None) throw (SRPC::failure)
 ~WeederC () throw ()
bool WeederRecovering (bool doneMarking) const throw (SRPC::failure)
BitVectorStartMark (int &newLogVer) const throw (SRPC::failure)
void SetHitFilter (const BitVector &cis) const throw (SRPC::failure)
BitVectorGetLeases () const throw (SRPC::failure)
void ResumeLeaseExp () const throw (SRPC::failure)
int EndMark (const BitVector &cis, const PKPrefixTbl &pfxs) const throw (SRPC::failure)
bool CommitChkpt (const Text &chkptFileName) const throw (SRPC::failure)

Protected Attributes

MultiSRPCconns
CacheIntf::DebugLevel debug
FP::Tag server_instance

Private Member Functions

void NullCall (CacheIntf::ProcIds id, char *name, CacheIntf::DebugLevel level) const throw (SRPC::failure)
 WeederC (const WeederC &)
void init_server_instance () throw (SRPC::failure)
void recv_server_instance_check (SRPC *srpc, const char *func_name) const throw (SRPC::failure)


Constructor & Destructor Documentation

WeederC::WeederC CacheIntf::DebugLevel  debug = CacheIntf::None  )  throw (SRPC::failure)
 

Definition at line 46 of file WeederC.C.

References Config_CacheSection, NEW_CONSTR, and ReadConfig::TextVal().

WeederC::~WeederC  )  throw ()
 

Definition at line 57 of file WeederC.C.

References conns.

WeederC::WeederC const WeederC  )  [private]
 


Member Function Documentation

bool WeederC::CommitChkpt const Text chkptFileName  )  const throw (SRPC::failure)
 

Definition at line 487 of file WeederC.C.

References CacheIntf::CommitChkptProc, ParCacheC::Locate(), Debug::Lock(), SRPC::start_call(), Debug::Timestamp(), Debug::Unlock(), CacheIntf::Version, and CacheIntf::WeederOps.

Referenced by Weeder::DeletionPhase().

int WeederC::EndMark const BitVector cis,
const PKPrefixTbl pfxs
const throw (SRPC::failure)
 

Definition at line 429 of file WeederC.C.

References CacheIntf::EndMarkProc, ParCacheC::Locate(), Debug::Lock(), SRPC::start_call(), Debug::Timestamp(), Debug::Unlock(), CacheIntf::Version, and CacheIntf::WeederOps.

Referenced by Weeder::DeletionPhase().

BitVector * WeederC::GetLeases  )  const throw (SRPC::failure)
 

Definition at line 353 of file WeederC.C.

References BitVector::Cardinality(), CacheIntf::GetLeasesProc, ParCacheC::Locate(), Debug::Lock(), NEW_CONSTR, BitVector::PrintAll(), SRPC::start_call(), Debug::Timestamp(), Debug::Unlock(), CacheIntf::Version, and CacheIntf::WeederOps.

Referenced by Weeder::MarkWork().

void WeederC::init_server_instance  )  throw (SRPC::failure) [private]
 

Definition at line 63 of file WeederC.C.

References CacheIntf::GetCacheInstanceProc, ParCacheC::Locate(), Debug::Lock(), CacheIntf::OtherOps, SRPC::send_end(), SRPC::start_call(), Debug::Timestamp(), Debug::Unlock(), and CacheIntf::Version.

void WeederC::NullCall CacheIntf::ProcIds  id,
char *  name,
CacheIntf::DebugLevel  level
const throw (SRPC::failure) [private]
 

Definition at line 141 of file WeederC.C.

References ParCacheC::Locate(), Debug::Lock(), SRPC::start_call(), Debug::Timestamp(), Debug::Unlock(), and CacheIntf::Version.

void WeederC::recv_server_instance_check SRPC srpc,
const char *  func_name
const throw (SRPC::failure) [private]
 

Definition at line 108 of file WeederC.C.

References Debug::Lock(), CacheIntf::OtherOps, Debug::Timestamp(), and Debug::Unlock().

void WeederC::ResumeLeaseExp  )  const throw (SRPC::failure)
 

Definition at line 406 of file WeederC.C.

References CacheIntf::ResumeLeasesProc, and CacheIntf::WeederOps.

Referenced by Weeder::MarkPhase(), and Weeder::MarkWork().

void WeederC::SetHitFilter const BitVector cis  )  const throw (SRPC::failure)
 

Definition at line 302 of file WeederC.C.

References ParCacheC::Locate(), Debug::Lock(), CacheIntf::SetHitFilterProc, SRPC::start_call(), Debug::Timestamp(), Debug::Unlock(), CacheIntf::Version, and CacheIntf::WeederOps.

Referenced by Weeder::MarkWork().

BitVector * WeederC::StartMark int &  newLogVer  )  const throw (SRPC::failure)
 

Definition at line 246 of file WeederC.C.

References BitVector::Cardinality(), ParCacheC::Locate(), Debug::Lock(), NEW_CONSTR, BitVector::PrintAll(), SRPC::start_call(), CacheIntf::StartMarkProc, Debug::Timestamp(), Debug::Unlock(), CacheIntf::Version, and CacheIntf::WeederOps.

Referenced by Weeder::MarkPhase().

bool WeederC::WeederRecovering bool  doneMarking  )  const throw (SRPC::failure)
 

Definition at line 189 of file WeederC.C.

References BoolName, ParCacheC::Locate(), Debug::Lock(), SRPC::start_call(), Debug::Timestamp(), Debug::Unlock(), CacheIntf::Version, CacheIntf::WeederOps, and CacheIntf::WeedRecoverProc.


Member Data Documentation

MultiSRPC* WeederC::conns [protected]
 

Definition at line 109 of file WeederC.H.

Referenced by ~WeederC().

CacheIntf::DebugLevel WeederC::debug [protected]
 

Definition at line 112 of file WeederC.H.

FP::Tag WeederC::server_instance [protected]
 

Definition at line 116 of file WeederC.H.


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