Storage.h
Go to the documentation of this file.
#define RefCountable
The locking interface for use on Reference-Counted classes.
Definition: Lock.h:66
Definition: Store.h:42
High-level store statistics used by mgr:info action. Used inside PODs!
Definition: StoreStats.h:14
Definition: Storage.h:24
virtual uint64_t maxSize() const =0
virtual void create()=0
create system resources needed for this store to operate in the future
virtual uint64_t minSize() const =0
the minimum size the store will shrink to via normal housekeeping
virtual void init()=0
virtual void evictIfFound(const cache_key *)=0
virtual void stat(StoreEntry &e) const =0
virtual int64_t maxObjectSize() const =0
the maximum size of a storable object; -1 if unlimited
virtual uint64_t currentCount() const =0
the total number of objects stored right now
virtual int callback()
called once every main loop iteration; TODO: Move to UFS code.
Definition: Storage.h:72
virtual void maintain()=0
perform regular periodic maintenance; TODO: move to UFSSwapDir::Maintain
virtual void evictCached(StoreEntry &e)=0
class Ping::pingStats_ stats
Definition: SquidConfig.h:62