Inheritance diagram for ICP2State:
Collaboration diagram for ICP2State:

Public Member Functions

 ICP2State (icp_common_t &aHeader, HttpRequest *aRequest)
 
 ~ICP2State () override
 
bool isHit () const
 whether the cache contains the requested entry More...
 

Public Attributes

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

Protected Member Functions

LogTagsloggingTags () const override
 
void fillChecklist (ACLFilledChecklist &) const override
 configure the given checklist (to reflect the current transaction state) More...
 
bool confirmAndPrepHit (const StoreEntry &) const
 either confirms and starts processing a cache hit or returns false More...
 
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 204 of file icp_v2.cc.

Constructor & Destructor Documentation

◆ ICP2State()

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

Definition at line 208 of file icp_v2.cc.

◆ ~ICP2State()

ICP2State::~ICP2State ( )
override

Definition at line 218 of file icp_v2.cc.

Member Function Documentation

◆ confirmAndPrepHit()

bool ICPState::confirmAndPrepHit ( const StoreEntry e) const
protectedinherited

◆ fillChecklist()

void ICPState::fillChecklist ( ACLFilledChecklist ) const
overrideprotectedvirtualinherited

◆ isHit()

bool ICPState::isHit ( ) const
inherited

Definition at line 155 of file icp_v2.cc.

References ICPState::confirmAndPrepHit(), Http::METHOD_GET, storeGetPublic(), and ICPState::url.

Referenced by doV2Query(), and doV3Query().

◆ loggingTags()

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

Implements StoreClient.

Definition at line 183 of file icp_v2.cc.

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

◆ mayInitiateCollapsing()

bool StoreClient::mayInitiateCollapsing ( ) const
inlineprotectedinherited

◆ onCollapsingPath()

◆ startCollapsingOn()

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

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

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

Member Data Documentation

◆ al

AccessLogEntryPointer ICPState::al
mutableinherited

Definition at line 77 of file ICP.h.

Referenced by doV2Query(), doV3Query(), ICPState::fillChecklist(), and ICPState::loggingTags().

◆ fd

int ICPState::fd
inherited

Definition at line 73 of file ICP.h.

Referenced by doV2Query(), and doV3Query().

◆ flags

uint32_t ICP2State::flags

Definition at line 215 of file icp_v2.cc.

Referenced by doV2Query().

◆ from

Ip::Address ICPState::from
inherited

Definition at line 75 of file ICP.h.

Referenced by doV2Query(), doV3Query(), and ICPState::fillChecklist().

◆ header

icp_common_t ICPState::header
inherited

Definition at line 71 of file ICP.h.

◆ request

HttpRequest* ICPState::request
inherited

◆ rtt

int ICP2State::rtt

Definition at line 213 of file icp_v2.cc.

Referenced by doV2Query().

◆ src_rtt

int ICP2State::src_rtt

Definition at line 214 of file icp_v2.cc.

Referenced by doV2Query().

◆ url

char* ICPState::url
inherited

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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors