TestSwapDir.cc
Go to the documentation of this file.
Definition: Store.h:42
void STIOCB(void *their_data, int errflag, StoreIOState::Pointer self)
Definition: StoreIOState.h:39
Definition: TestSwapDir.h:15
uint64_t currentCount() const override
the total number of objects stored right now
Definition: TestSwapDir.cc:25
StoreIOState::Pointer createStoreIO(StoreEntry &, StoreIOState::STIOCB *, void *) override
Definition: TestSwapDir.cc:58
bool canStore(const StoreEntry &e, int64_t diskSpaceNeeded, int &load) const override
check whether we can store the entry; if we can, report current load
Definition: TestSwapDir.cc:51
StoreIOState::Pointer openStoreIO(StoreEntry &, StoreIOState::STIOCB *, void *) override
Definition: TestSwapDir.cc:64
bool unlinkdUseful() const override
whether SwapDir may benefit from unlinkd
Definition: TestSwapDir.cc:45