#include <CacheC.H>
Public Member Functions | |
CacheC (CacheIntf::DebugLevel debug=CacheIntf::None) throw (SRPC::failure) | |
~CacheC () throw () | |
FV::Epoch | FreeVariables (const FP::Tag &pk, CompactFV::List &names, bool &isEmpty) const throw (SRPC::failure) |
CacheIntf::LookupRes | Lookup (const FP::Tag &pk, const FV::Epoch id, const FP::List &fps, CacheEntry::Index &ci, VestaVal::T &value) const throw (SRPC::failure) |
CacheIntf::AddEntryRes | AddEntry (const FP::Tag &pk, const char *types, const FV2::List &names, const FP::List &fps, const VestaVal::T &value, const Model::T model, const CacheEntry::Indices &kids, const Text &sourceFunc, CacheEntry::Index &ci) throw (SRPC::failure) |
void | Checkpoint (const FP::Tag &pkgVersion, Model::T model, const CacheEntry::Indices &cis, bool done) throw (SRPC::failure) |
bool | RenewLeases (const CacheEntry::Indices &cis) throw (SRPC::failure) |
Protected Attributes | |
MultiSRPC * | conns |
CacheIntf::DebugLevel | debug |
FP::Tag | server_instance |
Private Member Functions | |
CacheC (const CacheC &) | |
void | init_server_instance () throw (SRPC::failure) |
void | recv_server_instance_check (SRPC *srpc, const char *func_name) const throw (SRPC::failure) |
|
Definition at line 59 of file CacheC.C. References Config_CacheSection, NEW_CONSTR, and ReadConfig::TextVal(). |
|
Definition at line 70 of file CacheC.C. References conns. |
|
|
|
Definition at line 295 of file CacheC.C. References CacheIntf::AddEntryOp, CacheIntf::AddEntryProc, CacheIntf::AddEntryResName(), CacheIntf::EntryAdded, g_debug_call_count, ParCacheC::Locate(), Debug::Lock(), Model::Send(), SRPC::start_call(), Debug::Timestamp(), Debug::Unlock(), and CacheIntf::Version. Referenced by ApplicationFromCache(), ModelFromCache(), NormalModelFromCache(), and RunToolFromCache(). |
|
Definition at line 372 of file CacheC.C. References BoolName, CacheIntf::CheckpointProc, g_debug_call_count, ParCacheC::Locate(), Debug::Lock(), CacheIntf::LogFlush, Model::Send(), SRPC::start_call(), Debug::Timestamp(), Debug::Unlock(), and CacheIntf::Version. Referenced by Checkpoint(), and Interpret(). |
|
Definition at line 154 of file CacheC.C. References BoolName, CacheIntf::FreeVarsProc, g_debug_call_count, ParCacheC::Locate(), Debug::Lock(), CacheIntf::OtherOps, SRPC::start_call(), Debug::Timestamp(), Debug::Unlock(), and CacheIntf::Version. Referenced by ApplicationFromCache(), ModelFromCache(), NormalModelFromCache(), and RunToolFromCache(). |
|
Definition at line 76 of file CacheC.C. References g_debug_call_count, CacheIntf::GetCacheInstanceProc, ParCacheC::Locate(), Debug::Lock(), CacheIntf::OtherOps, SRPC::send_end(), SRPC::start_call(), Debug::Timestamp(), Debug::Unlock(), and CacheIntf::Version. |
|
Definition at line 223 of file CacheC.C. References g_debug_call_count, CacheIntf::Hit, ParCacheC::Locate(), Debug::Lock(), CacheIntf::LookupProc, CacheIntf::LookupResName(), CacheIntf::OtherOps, SRPC::start_call(), Debug::Timestamp(), Debug::Unlock(), and CacheIntf::Version. Referenced by ApplicationFromCache(), ModelFromCache(), NormalModelFromCache(), and RunToolFromCache(). |
|
Definition at line 126 of file CacheC.C. References Debug::Lock(), CacheIntf::OtherOps, Debug::Timestamp(), and Debug::Unlock(). |
|
Definition at line 432 of file CacheC.C. References g_debug_call_count, CacheIntf::LeaseExp, ParCacheC::Locate(), Debug::Lock(), CacheIntf::RenewLeasesProc, SRPC::start_call(), Debug::Timestamp(), Debug::Unlock(), and CacheIntf::Version. |
|
Definition at line 150 of file CacheC.H. Referenced by ~CacheC(). |
|
|
|
|