a storeGetPublic*() caller More...
#include <StoreClient.h>
Public Member Functions | |
~StoreClient () override | |
virtual LogTags * | loggingTags () const =0 |
virtual void | fillChecklist (ACLFilledChecklist &) const =0 |
configure the given checklist (to reflect the current transaction state) More... | |
Protected Member Functions | |
bool | startCollapsingOn (const StoreEntry &, const bool doingRevalidation) const |
bool | mayInitiateCollapsing () const |
whether Squid configuration allows us to become a CF initiator More... | |
bool | onCollapsingPath () const |
whether Squid configuration allows collapsing for this transaction More... | |
Detailed Description
Definition at line 39 of file StoreClient.h.
Constructor & Destructor Documentation
◆ ~StoreClient()
|
inlineoverride |
Definition at line 43 of file StoreClient.h.
Member Function Documentation
◆ fillChecklist()
|
pure virtualinherited |
Implemented in Ssl::IcapPeerConnector, ConnStateData, clientReplyContext, htcpSpecifier, ICPState, MimeIcon, Security::PeerConnector, and UrnState.
Referenced by onCollapsingPath(), and Security::KeyLogger::shouldLog().
◆ loggingTags()
|
pure virtual |
- Returns
- LogTags (if the class logs transactions) or nil (otherwise)
Implemented in clientReplyContext, htcpSpecifier, ICPState, MimeIcon, and UrnState.
Referenced by startCollapsingOn().
◆ mayInitiateCollapsing()
|
inlineprotected |
Definition at line 58 of file StoreClient.h.
References onCollapsingPath().
Referenced by clientReplyContext::createStoreEntry(), and clientReplyContext::processExpired().
◆ onCollapsingPath()
|
protected |
Definition at line 52 of file store_client.cc.
References SquidConfig::accessList, Acl::Answer::allowed(), SquidConfig::collapsed_forwarding, SquidConfig::collapsedForwardingAccess, Config, ACLChecklist::fastCheck(), Acl::ChecklistFiller::fillChecklist(), and SquidConfig::onoff.
Referenced by mayInitiateCollapsing(), and startCollapsingOn().
◆ startCollapsingOn()
|
protected |
- Returns
- whether the caller must collapse on the given entry Before returning true, updates common collapsing-related stats. See also: StoreEntry::hittingRequiresCollapsing().
Definition at line 66 of file store_client.cc.
References debugs, StoreEntry::hittingRequiresCollapsing(), loggingTags(), and onCollapsingPath().
Referenced by htcpSpecifier::checkHit(), ICPState::confirmAndPrepHit(), clientReplyContext::identifyFoundObject(), clientReplyContext::processExpired(), and UrnState::start().
The documentation for this class was generated from the following files:
- src/StoreClient.h
- src/store_client.cc