Disks.h
Go to the documentation of this file.
Definition: Store.h:42
High-level store statistics used by mgr:info action. Used inside PODs!
Definition: StoreStats.h:14
Definition: Controlled.h:19
Definition: SquidConfig.h:63
void reference(StoreEntry &) override
somebody needs this entry (many cache replacement policies need to know)
Definition: Disks.cc:545
void create() override
create system resources needed for this store to operate in the future
Definition: Disks.cc:220
int64_t maxObjectSize() const override
the maximum size of a storable object; -1 if unlimited
Definition: Disks.cc:374
int64_t secondLargestMaximumObjectSize
the second-biggest Disk::maxObjectSize()
Definition: Disks.h:68
static void Dump(const DiskConfig &, StoreEntry &, const char *name)
prints the configuration into the provided StoreEntry
Definition: Disks.cc:468
uint64_t currentCount() const override
the total number of objects stored right now
Definition: Disks.cc:361
bool hasReadableEntry(const StoreEntry &) const
whether any of disk caches has entry with e.key
Definition: Disks.cc:667
uint64_t minSize() const override
the minimum size the store will shrink to via normal housekeeping
Definition: Disks.cc:335
void maintain() override
perform regular periodic maintenance; TODO: move to UFSSwapDir::Maintain
Definition: Disks.cc:564
int64_t accumulateMore(const StoreEntry &) const
Definition: Disks.cc:479
void updateHeaders(StoreEntry *) override
make stored metadata and HTTP headers the same as in the given entry
Definition: Disks.cc:557
static SwapDir * SelectSwapDir(const StoreEntry *)
Definition: Disks.cc:661
int callback() override
called once every main loop iteration; TODO: Move to UFS code.
Definition: Disks.cc:188
class Ping::pingStats_ stats
Definition: SquidConfig.h:62