A StoreEntry::getPublic*() caller. More...

#include <StoreClient.h>

Inheritance diagram for StoreClient:

Public Member Functions

virtual ~StoreClient ()
 
virtual void created (StoreEntry *)=0
 
virtual LogTagsloggingTags ()=0
 

Protected Member Functions

virtual void fillChecklist (ACLFilledChecklist &) const =0
 configure the ACL checklist with the current transaction state More...
 
bool startCollapsingOn (const StoreEntry &, const bool doingRevalidation)
 
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 23 of file StoreClient.h.

Constructor & Destructor Documentation

◆ ~StoreClient()

virtual StoreClient::~StoreClient ( )
inlinevirtual

Definition at line 27 of file StoreClient.h.

References created(), fillChecklist(), loggingTags(), and startCollapsingOn().

Member Function Documentation

◆ created()

virtual void StoreClient::created ( StoreEntry )
pure virtual

◆ fillChecklist()

void StoreClient::fillChecklist ( ACLFilledChecklist checklist) const
protectedpure virtual

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

Definition at line 87 of file store_client.cc.

References Must.

Referenced by onCollapsingPath(), and ~StoreClient().

◆ loggingTags()

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

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

Referenced by startCollapsingOn(), and ~StoreClient().

◆ mayInitiateCollapsing()

bool StoreClient::mayInitiateCollapsing ( ) const
inlineprotected

◆ onCollapsingPath()

◆ startCollapsingOn()

bool StoreClient::startCollapsingOn ( const StoreEntry e,
const bool  doingRevalidation 
)
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 65 of file store_client.cc.

References debugs, StoreEntry::hittingRequiresCollapsing(), loggingTags(), and onCollapsingPath().

Referenced by ICPState::confirmAndPrepHit(), UrnState::created(), clientReplyContext::identifyFoundObject(), clientReplyContext::processExpired(), and ~StoreClient().


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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors