testStore.h
Go to the documentation of this file.
Definition: RefCount.h:28
allows testing of methods without having all the other components live
Definition: testStore.h:43
uint64_t currentCount() const override
the total number of objects stored right now
Definition: testStore.cc:58
int callback() override
called once every main loop iteration; TODO: Move to UFS code.
Definition: testStore.cc:20
int64_t maxObjectSize() const override
the maximum size of a storable object; -1 if unlimited
Definition: testStore.cc:64
uint64_t minSize() const override
the minimum size the store will shrink to via normal housekeeping
Definition: testStore.cc:46
void maintain() override
perform regular periodic maintenance; TODO: move to UFSSwapDir::Maintain
Definition: testStore.h:58
Definition: Store.h:42
High-level store statistics used by mgr:info action. Used inside PODs!
Definition: StoreStats.h:14
Definition: StoreSearch.h:16
Definition: Controller.h:23
Definition: SquidString.h:26
Definition: testStore.h:22
CPPUNIT_TEST_SUITE_END()
CPPUNIT_TEST_SUITE(TestStore)
CPPUNIT_TEST(testSetRoot)
CPPUNIT_TEST(testUnsetRoot)
CPPUNIT_TEST(testSwapMetaTypeClassification)
CPPUNIT_TEST(testMaxSize)
void testSwapMetaTypeClassification()
Definition: testStore.cc:191
CPPUNIT_TEST(testStats)
RefCount< StoreControllerStub > StoreControllerStubPointer
Definition: testStore.h:81