9#ifndef SQUID_SRC_STORE_STORAGE_H
10#define SQUID_SRC_STORE_STORAGE_H
#define RefCountable
The locking interface for use on Reference-Counted classes.
High-level store statistics used by mgr:info action. Used inside PODs!
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 uint64_t currentSize() const =0
current size
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 void sync()
prepare for shutdown
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.
virtual void getStats(StoreInfoStats &stats) const =0
collect statistics
virtual void maintain()=0
perform regular periodic maintenance; TODO: move to UFSSwapDir::Maintain
virtual void evictCached(StoreEntry &e)=0
unsigned char cache_key
Store key.