#include <CacheC.H>
Collaboration diagram for CacheC:

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 52 of file CacheC.H.
| CacheC::CacheC | ( | CacheIntf::DebugLevel | debug = CacheIntf::None |
) | throw (SRPC::failure) |
Definition at line 57 of file CacheC.C.
References Config_CacheSection, NEW_CONSTR, and ReadConfig::TextVal().
Here is the call graph for this function:

| CacheC::CacheC | ( | const CacheC & | ) | [private] |
| FV::Epoch CacheC::FreeVariables | ( | const FP::Tag & | pk, | |
| CompactFV::List & | names, | |||
| bool & | isEmpty | |||
| ) | const throw (SRPC::failure) |
Definition at line 150 of file CacheC.C.
References BoolName, OS::cio(), OS::ThreadIO::end_out(), CacheIntf::FreeVarsProc, g_debug_call_count, ParCacheC::Locate(), CacheIntf::OtherOps, SRPC::recv_end(), SRPC::recv_int(), SRPC::send_end(), SRPC::start_call(), OS::ThreadIO::start_out(), Debug::Timestamp(), and CacheIntf::Version.
Referenced by ApplicationFromCache(), ModelFromCache(), NormalModelFromCache(), and RunToolFromCache().
Here is the call graph for this function:

Here is the caller graph for this function:

| CacheIntf::LookupRes CacheC::Lookup | ( | const FP::Tag & | pk, | |
| const FV::Epoch | id, | |||
| const FP::List & | fps, | |||
| CacheEntry::Index & | ci, | |||
| VestaVal::T & | value | |||
| ) | const throw (SRPC::failure) |
Definition at line 220 of file CacheC.C.
References OS::cio(), OS::ThreadIO::end_out(), g_debug_call_count, CacheIntf::Hit, ParCacheC::Locate(), CacheIntf::LookupProc, CacheIntf::LookupResName(), CacheIntf::OtherOps, SRPC::recv_end(), SRPC::recv_int(), SRPC::send_end(), SRPC::send_int(), SRPC::start_call(), OS::ThreadIO::start_out(), Debug::Timestamp(), and CacheIntf::Version.
Referenced by ApplicationFromCache(), ModelFromCache(), NormalModelFromCache(), and RunToolFromCache().
Here is the call graph for this function:

Here is the caller graph for this function:

| CacheIntf::AddEntryRes CacheC::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) |
Definition at line 293 of file CacheC.C.
References CacheIntf::AddEntryOp, CacheIntf::AddEntryProc, CacheIntf::AddEntryResName(), OS::cio(), OS::ThreadIO::end_out(), CacheIntf::EntryAdded, g_debug_call_count, ParCacheC::Locate(), SRPC::recv_end(), SRPC::recv_int(), Model::Send(), SRPC::send_end(), SRPC::send_Text(), SRPC::start_call(), OS::ThreadIO::start_out(), Debug::Timestamp(), and CacheIntf::Version.
Referenced by ApplicationFromCache(), ModelFromCache(), NormalModelFromCache(), and RunToolFromCache().
Here is the call graph for this function:

Here is the caller graph for this function:

| void CacheC::Checkpoint | ( | const FP::Tag & | pkgVersion, | |
| Model::T | model, | |||
| const CacheEntry::Indices & | cis, | |||
| bool | done | |||
| ) | throw (SRPC::failure) |
Definition at line 372 of file CacheC.C.
References BoolName, CacheIntf::CheckpointProc, OS::cio(), OS::ThreadIO::end_out(), g_debug_call_count, ParCacheC::Locate(), CacheIntf::LogFlush, SRPC::recv_end(), Model::Send(), SRPC::send_end(), SRPC::send_int(), SRPC::start_call(), OS::ThreadIO::start_out(), Debug::Timestamp(), and CacheIntf::Version.
Referenced by Checkpoint(), and Interpret().
Here is the call graph for this function:

Here is the caller graph for this function:

| bool CacheC::RenewLeases | ( | const CacheEntry::Indices & | cis | ) | throw (SRPC::failure) |
Definition at line 431 of file CacheC.C.
References OS::cio(), OS::ThreadIO::end_out(), g_debug_call_count, CacheIntf::LeaseExp, ParCacheC::Locate(), SRPC::recv_end(), SRPC::recv_int(), CacheIntf::RenewLeasesProc, SRPC::send_end(), SRPC::start_call(), OS::ThreadIO::start_out(), Debug::Timestamp(), and CacheIntf::Version.
Here is the call graph for this function:

| void CacheC::init_server_instance | ( | ) | throw (SRPC::failure) [private] |
Definition at line 74 of file CacheC.C.
References OS::cio(), conns, MultiSRPC::End(), OS::ThreadIO::end_out(), g_debug_call_count, CacheIntf::GetCacheInstanceProc, ParCacheC::Locate(), CacheIntf::OtherOps, FP::Tag::Recv(), SRPC::recv_end(), SRPC::send_end(), server_instance, MultiSRPC::Start(), SRPC::start_call(), OS::ThreadIO::start_out(), Debug::Timestamp(), and CacheIntf::Version.
Here is the call graph for this function:

| void CacheC::recv_server_instance_check | ( | SRPC * | srpc, | |
| const char * | func_name | |||
| ) | const throw (SRPC::failure) [private] |
Definition at line 123 of file CacheC.C.
References OS::cio(), OS::ThreadIO::end_out(), CacheIntf::OtherOps, OS::ThreadIO::start_out(), and Debug::Timestamp().
Here is the call graph for this function:

MultiSRPC* CacheC::conns [protected] |
CacheIntf::DebugLevel CacheC::debug [protected] |
FP::Tag CacheC::server_instance [protected] |
1.5.1