Inheritance diagram for ICP2State:
Collaboration diagram for ICP2State:

Public Member Functions

 ICP2State (icp_common_t &aHeader, HttpRequest *aRequest)
 
 ~ICP2State ()
 
virtual void created (StoreEntry *newEntry) override
 

Public Attributes

int rtt
 
int src_rtt
 
uint32_t flags
 
icp_common_t header
 
HttpRequestrequest
 
int fd
 
Ip::Address from
 
char * url
 

Protected Member Functions

virtual LogTagsloggingTags () override
 
virtual void fillChecklist (ACLFilledChecklist &) const override
 configure the ACL checklist with the current transaction state More...
 
bool confirmAndPrepHit (const StoreEntry &)
 either confirms and starts processing a cache hit or returns false 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...
 

Protected Attributes

AccessLogEntryPointer al
 

Detailed Description

Definition at line 194 of file icp_v2.cc.

Constructor & Destructor Documentation

◆ ICP2State()

ICP2State::ICP2State ( icp_common_t aHeader,
HttpRequest aRequest 
)
inline

Definition at line 198 of file icp_v2.cc.

References StoreClient::created().

◆ ~ICP2State()

ICP2State::~ICP2State ( )

Definition at line 209 of file icp_v2.cc.

Member Function Documentation

◆ confirmAndPrepHit()

◆ created()

◆ fillChecklist()

void ICPState::fillChecklist ( ACLFilledChecklist checklist) const
overrideprotectedvirtualinherited

◆ loggingTags()

LogTags * ICPState::loggingTags ( )
overrideprotectedvirtualinherited
Returns
LogTags (if the class logs transactions) or nil (otherwise)

Implements StoreClient.

Definition at line 173 of file icp_v2.cc.

References AccessLogEntry::cache, and AccessLogEntry::CacheDetails::code.

◆ mayInitiateCollapsing()

bool StoreClient::mayInitiateCollapsing ( ) const
inlineprotectedinherited

◆ onCollapsingPath()

◆ startCollapsingOn()

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

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

Member Data Documentation

◆ al

AccessLogEntryPointer ICPState::al
mutableprotectedinherited

Definition at line 86 of file ICP.h.

Referenced by ICP3State::created(), ICPState::fillChecklist(), and icpUdpSend().

◆ fd

int ICPState::fd
inherited

Definition at line 73 of file ICP.h.

Referenced by ICP3State::created(), created(), doV2Query(), and doV3Query().

◆ flags

uint32_t ICP2State::flags

Definition at line 206 of file icp_v2.cc.

Referenced by doV2Query().

◆ from

Ip::Address ICPState::from
inherited

◆ header

icp_common_t ICPState::header
inherited

Definition at line 71 of file ICP.h.

Referenced by ICP3State::created(), created(), icpHandleIcpV2(), and icpHandleIcpV3().

◆ request

HttpRequest* ICPState::request
inherited

◆ rtt

int ICP2State::rtt

Definition at line 204 of file icp_v2.cc.

Referenced by doV2Query().

◆ src_rtt

int ICP2State::src_rtt

Definition at line 205 of file icp_v2.cc.

Referenced by doV2Query().

◆ url


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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors