a storeGetPublic*() caller More...

#include <StoreClient.h>

Inheritance diagram for StoreClient:
Collaboration diagram for StoreClient:

Public Member Functions

 ~StoreClient () override
 
virtual LogTagsloggingTags () 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...
 

Protected Attributes

bool didCollapse = false
 whether startCollapsingOn() was called and returned true More...
 

Detailed Description

Definition at line 40 of file StoreClient.h.

Constructor & Destructor Documentation

◆ ~StoreClient()

StoreClient::~StoreClient ( )
inlineoverride

Definition at line 44 of file StoreClient.h.

Member Function Documentation

◆ fillChecklist()

virtual void Acl::ChecklistFiller::fillChecklist ( ACLFilledChecklist ) const
pure virtualinherited

◆ loggingTags()

virtual LogTags* StoreClient::loggingTags ( ) const
pure virtual
Returns
LogTags (if the class logs transactions) or nil (otherwise)

Implemented in htcpSpecifier, ICPState, clientReplyContext, MimeIcon, and UrnState.

Referenced by startCollapsingOn().

◆ mayInitiateCollapsing()

bool StoreClient::mayInitiateCollapsing ( ) const
inlineprotected

◆ onCollapsingPath()

◆ startCollapsingOn()

bool StoreClient::startCollapsingOn ( const StoreEntry e,
const bool  doingRevalidation 
) const
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, didCollapse, StoreEntry::hittingRequiresCollapsing(), loggingTags(), and onCollapsingPath().

Referenced by htcpSpecifier::checkHit(), ICPState::confirmAndPrepHit(), clientReplyContext::identifyFoundObject(), clientReplyContext::processExpired(), and UrnState::start().

Member Data Documentation

◆ didCollapse

bool StoreClient::didCollapse = false
mutableprotected

The documentation for this class was generated from the following files:

 

Introduction

Documentation

Support

Miscellaneous