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 ( icp_common_t aHeader,
HttpRequest aRequest 
)
inline

Definition at line 198 of file icp_v2.cc.

ICP2State::~ICP2State ( )

Definition at line 209 of file icp_v2.cc.

Member Function Documentation

void ICPState::fillChecklist ( ACLFilledChecklist checklist) const
overrideprotectedvirtualinherited
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 ICPState::al, AccessLogEntry::cache, and AccessLogEntry::CacheDetails::code.

bool StoreClient::mayInitiateCollapsing ( ) const
inlineprotectedinherited
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(), htcpSpecifier::created(), clientReplyContext::identifyFoundObject(), and clientReplyContext::processExpired().

Member Data Documentation

AccessLogEntryPointer ICPState::al
mutableprotectedinherited

Definition at line 86 of file ICP.h.

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

int ICPState::fd
inherited

Definition at line 73 of file ICP.h.

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

uint32_t ICP2State::flags

Definition at line 206 of file icp_v2.cc.

Referenced by created(), and doV2Query().

Ip::Address ICPState::from
inherited

Definition at line 75 of file ICP.h.

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

icp_common_t ICPState::header
inherited

Definition at line 71 of file ICP.h.

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

HttpRequest* ICPState::request
inherited
int ICP2State::rtt

Definition at line 204 of file icp_v2.cc.

Referenced by created(), and doV2Query().

int ICP2State::src_rtt

Definition at line 205 of file icp_v2.cc.

Referenced by created(), and doV2Query().

char* ICPState::url
inherited

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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors