#include <time.h>#include <Basics.H>#include <Table.H>#include <Generics.H>#include <SRPC.H>#include <FP.H>#include <CacheArgs.H>#include <CacheIntf.H>#include <PKPrefix.H>#include <Model.H>#include <CacheIndex.H>#include <FV.H>#include <VestaVal.H>#include <CompactFV.H>#include <FV2.H>#include <Debug.H>#include "CacheC.H"#include "DebugC.H"#include "WeederC.H"Go to the source code of this file.
Typedefs | |
| typedef TextIntTbl | NameMap |
Functions | |
| void | ErrMsg (char *msg, bool halt=true) throw () |
| bool | SkipWhite (istream &ins, bool echoComments) |
| void | Checkpoint (istream &ins, CacheC &client) throw (SRPC::failure) |
| void | FlushAll (DebugC &debug) throw (SRPC::failure) |
| void | Pause (istream &ins) throw () |
| void | ReadCIs (istream &ins, CacheEntry::Indices &cis) throw () |
| void | ReadBits (istream &ins, BitVector &cis) throw () |
| void | ReadPfxs (istream &ins, PKPrefixTbl &pfxs) throw () |
| void | RenewLeases (istream &ins, CacheC &client) throw (SRPC::failure) |
| void | StartMark (WeederC &client) throw (SRPC::failure) |
| void | SetHitFilter (WeederC &client, const BitVector &cis) throw (SRPC::failure) |
| void | ResumeLeaseExp (WeederC &client) throw (SRPC::failure) |
| void | EndMark (WeederC &client, const BitVector &cis, const PKPrefixTbl &pfxs) throw (SRPC::failure) |
| void | Weed (istream &ins, WeederC &client) throw (SRPC::failure) |
| FV::Epoch | FreeVariables (CacheC &client, const FP::Tag &pk, CompactFV::List &names) throw (SRPC::failure) |
| CacheIntf::LookupRes | Lookup (CacheC &client, const FP::Tag &pk, FV::Epoch epoch, const FP::List &fps) throw (SRPC::failure) |
| CacheIntf::AddEntryRes | AddEntry (CacheC &client, const FP::Tag &pk, const char *types, const FV2::ListApp &allNames, const FP::List &fps, const VestaVal::T &value) throw (SRPC::failure) |
| void | CallCache (istream &ins, CacheC &client, const FP::Tag &pk) throw (SRPC::failure) |
| void | RunTest (istream &ins, bool echoComments) throw (SRPC::failure) |
| void | Exit (char *msg) throw () |
| int | main (int argc, char *argv[]) |
Variables | |
| const char | CommentChar = '%' |
| const char | Newline = '\n' |
| const int | MaxWordLen = 80 |
| const char * | CheckpointOnlyCmd = "CheckpointOnly" |
| const char * | CheckpointCmd = "Checkpoint" |
| const char * | PauseCmd = "Pause" |
| const char * | RenewCmd = "RenewLeases" |
| const char * | WeedCmd = "Weed" |
|
|
Definition at line 76 of file TestCache.C. |
|
||||||||||||||||||||||||||||
|
Definition at line 262 of file TestCache.C. Referenced by CallCache(), and VPKFile::UpdateUncommonList(). |
|
||||||||||||||||
|
||||||||||||
|
Definition at line 114 of file TestCache.C. References ErrMsg(), and Newline. Referenced by ApplicationFromCache(), ShortIdBlock::checkpoint(), ModelFromCache(), NormalModelFromCache(), RunTest(), RunToolFromCache(), and ShortIdReceptionist(). |
|
||||||||||||||||
|
Definition at line 222 of file TestCache.C. Referenced by Weed(). |
|
||||||||||||
|
Definition at line 78 of file TestCache.C. Referenced by CallCache(), Checkpoint(), main(), Pause(), ReadBits(), RenewLeases(), and Weed(). |
|
|
Definition at line 402 of file TestCache.C. Referenced by main(). |
|
|
Definition at line 125 of file TestCache.C. References FlushAll(). Referenced by FlushAll(), and RunTest(). |
|
||||||||||||||||
|
Definition at line 244 of file TestCache.C. Referenced by CallCache(). |
|
||||||||||||||||||||
|
Definition at line 251 of file TestCache.C. |
|
||||||||||||
|
Definition at line 410 of file TestCache.C. References Text::chars(), ErrMsg(), Exit(), FS::IsFile(), SRPC::failure::msg, NEW_CONSTR, RunTest(), and CacheArgs::StartsWith(). |
|
|
Definition at line 130 of file TestCache.C. References ErrMsg(), and Newline. Referenced by MainClientProc(), RunTest(), and ServerCallback(). |
|
||||||||||||
|
Definition at line 167 of file TestCache.C. References ErrMsg(), and Newline. Referenced by Weed(). |
|
||||||||||||
|
Definition at line 139 of file TestCache.C. References NEW_PTRFREE_ARRAY, and Newline. Referenced by RenewLeases(). |
|
||||||||||||
|
Definition at line 183 of file TestCache.C. References Newline. Referenced by Weed(). |
|
||||||||||||
|
Definition at line 197 of file TestCache.C. References ErrMsg(), Newline, and ReadCIs(). Referenced by RunTest(), and StartRenewLeaseThread(). |
|
|
Definition at line 217 of file TestCache.C. Referenced by Weed(). |
|
||||||||||||
|
Definition at line 374 of file TestCache.C. References CacheIntf::All, CallCache(), Checkpoint(), CheckpointCmd, CheckpointOnlyCmd, FlushAll(), Pause(), PauseCmd, RenewCmd, RenewLeases(), SkipWhite(), Weed(), and WeedCmd. |
|
||||||||||||
|
Definition at line 212 of file TestCache.C. Referenced by Weed(). |
|
||||||||||||
|
Definition at line 85 of file TestCache.C. References CommentChar, and Newline. Referenced by RunTest(). |
|
|
Definition at line 206 of file TestCache.C. Referenced by Weed(). |
|
||||||||||||
|
Definition at line 228 of file TestCache.C. References EndMark(), ErrMsg(), Newline, ReadBits(), ReadPfxs(), ResumeLeaseExp(), SetHitFilter(), and StartMark(). Referenced by RunTest(). |
|
|
Definition at line 69 of file TestCache.C. Referenced by RunTest(). |
|
|
Definition at line 68 of file TestCache.C. Referenced by RunTest(). |
|
|
Definition at line 65 of file TestCache.C. Referenced by SkipWhite(). |
|
|
Definition at line 67 of file TestCache.C. |
|
|
Definition at line 66 of file TestCache.C. Referenced by CallCache(), Checkpoint(), Pause(), ReadBits(), ReadCIs(), ReadPfxs(), RenewLeases(), SkipWhite(), and Weed(). |
|
|
Definition at line 70 of file TestCache.C. Referenced by RunTest(). |
|
|
Definition at line 71 of file TestCache.C. Referenced by RunTest(). |
|
|
Definition at line 72 of file TestCache.C. Referenced by RunTest(). |
1.4.2