stub_libstore.cc
Go to the documentation of this file.
45 bool Controller::allowCollapsing(StoreEntry *, const RequestFlags &, const HttpRequestMethod &) STUB_RETVAL(false)
int transientReaders(const StoreEntry &) const
number of the transient entry readers some time ago
Definition: Controller.cc:624
void memoryDisconnect(StoreEntry &)
disassociates the entry from the memory cache, preserving cached data
Definition: Controller.cc:609
void noteStoppedSharedWriting(StoreEntry &)
adjust shared state after this worker stopped changing the entry
Definition: Controller.cc:617
uint64_t minSize() const override
the minimum size the store will shrink to via normal housekeeping
Definition: Controller.cc:160
AllocedBuf PackSwapMeta(const StoreEntry &, size_t &size)
Definition: SwapMetaOut.cc:77
void memoryOut(StoreEntry &, const bool preserveSwappable)
called to get rid of no longer needed entry data in RAM, if any
Definition: Controller.cc:581
void UnpackHitSwapMeta(char const *, ssize_t, StoreEntry &)
deserializes entry metadata from the given buffer into the cache hit entry
Definition: SwapMetaIn.cc:310
void create() override
create system resources needed for this store to operate in the future
Definition: Controller.cc:73
bool hasReadableDiskEntry(const StoreEntry &) const
whether there is a disk entry with e.key
Definition: Controller.cc:315
void addReading(StoreEntry *, const cache_key *)
Definition: Controller.cc:745
bool transientsReader(const StoreEntry &) const
whether the entry is in "reading from Transients" I/O state
Definition: Controller.cc:460
int callback() override
called once every main loop iteration; TODO: Move to UFS code.
Definition: Controller.cc:223
void storeDirOpenSwapLogs(void) STUB int storeDirWriteCleanLogs(int) STUB_RETVAL(0) void storeDirCloseSwapLogs(void) STUB void allocate_new_swapdir(Store void storeDirSwapLog(const StoreEntry *, int) STUB namespace Store
Definition: stub_libstore.cc:133
void create() override
create system resources needed for this store to operate in the future
Definition: Disks.cc:221
bool allowCollapsing(StoreEntry *, const RequestFlags &, const HttpRequestMethod &)
tries to make the entry available for collapsing future requests
Definition: Controller.cc:727
int64_t accumulateMore(StoreEntry &) const
Definition: Controller.cc:472
void addWriting(StoreEntry *, const cache_key *)
Definition: Controller.cc:753
void transientsDisconnect(StoreEntry &)
disassociates the entry from the intransit table
Definition: Controller.cc:631
Definition: ConfigOption.h:57
Definition: RequestFlags.h:22
Definition: MemBuf.h:23
Definition: StoreSearch.h:15
Definition: RequestMethod.h:26
void evictIfFound(const cache_key *) override
Definition: Controller.cc:492
bool markedForDeletion(const cache_key *key) const
Definition: Controller.cc:299
void syncCollapsed(const sfileno)
Update local intransit entry after changes made by appending worker.
Definition: Controller.cc:765
static int store_dirs_rebuilding
the number of cache_dirs being rebuilt; TODO: move to Disks::Rebuilding
Definition: Controller.h:133
bool updateOnNotModified(StoreEntry *old, StoreEntry &e304)
Definition: Controller.cc:687
void Parse()
interprets (and partially applies) squid.conf or equivalent configuration
Definition: cache_cf.cc:610
Definition: Store.h:37
int64_t maxObjectSize() const override
the maximum size of a storable object; -1 if unlimited
Definition: Controller.cc:181
StoreEntry * findCallbackXXX(const cache_key *)
Definition: Controller.cc:389
void maintain() override
perform regular periodic maintenance; TODO: move to UFSSwapDir::Maintain
Definition: Controller.cc:87
void handleIdleEntry(StoreEntry &)
called when the entry is no longer needed by any transaction
Definition: Controller.cc:638
size_t UnpackIndexSwapMeta(const MemBuf &, StoreEntry &, cache_key *)
Definition: SwapMetaIn.cc:243
bool transientsWriter(const StoreEntry &) const
whether the entry is in "writing to Transients" I/O state
Definition: Controller.cc:466
void freeMemorySpace(const int spaceRequired)
Definition: Controller.cc:522
uint64_t currentCount() const override
the total number of objects stored right now
Definition: Controller.cc:174
Definition: SquidConfig.h:62
bool markedForDeletionAndAbandoned(const StoreEntry &) const
Definition: Controller.cc:306
High-level store statistics used by mgr:info action. Used inside PODs!
Definition: StoreStats.h:13
~Controller() override
this destructor is never called because Controller singleton is immortal
Definition: Controller.cc:46
Introduction
- About Squid
- Why Squid?
- Squid Developers
- How to Donate
- How to Help Out
- Getting Squid
- Squid Source Packages
- Squid Deployment Case-Studies
- Squid Software Foundation
Documentation
- Quick Setup
- Configuration:
- FAQ and Wiki
- Guide Books:
- Non-English
- More...
Support
- Security Advisories
- Bugzilla Database
- Mailing lists
- Contacting us
- Commercial services
- Project Sponsors
- Squid-based products