Inheritance diagram for UrnState:
Collaboration diagram for UrnState:

Public Member Functions

void * operator new (size_t size)
void operator delete (void *address)
void * toCbdata () noexcept
 UrnState (const AccessLogEntry::Pointer &anAle)
void start (HttpRequest *, StoreEntry *)
void setUriResFromRequest (HttpRequest *)
 ~UrnState () override

Public Attributes

StoreEntryentry = nullptr
store_clientsc = nullptr
StoreEntryurlres_e = nullptr
HttpRequest::Pointer request
HttpRequest::Pointer urlres_r
AccessLogEntry::Pointer ale
 details of the requesting transaction More...
Store::ParsingBuffer parsingBuffer
 for receiving a URN resolver reply body from Store and interpreting it 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...

Private Member Functions

LogTagsloggingTags () const override
void fillChecklist (ACLFilledChecklist &) const override
 configure the given checklist (to reflect the current transaction state) More...

Private Attributes

char * urlres = nullptr

Static Private Attributes

static cbdata_type CBDATA_UrnState = CBDATA_UNKNOWN

Detailed Description

Definition at line 30 of file

Constructor & Destructor Documentation

◆ UrnState()

UrnState::UrnState ( const AccessLogEntry::Pointer anAle)

Definition at line 35 of file

◆ ~UrnState()

UrnState::~UrnState ( )

Definition at line 76 of file

References entry, safe_free, sc, storeUnregister(), SWALLOW_EXCEPTIONS, StoreEntry::unlock(), urlres, and urlres_e.

Member Function Documentation

◆ fillChecklist()

void UrnState::fillChecklist ( ACLFilledChecklist ) const

◆ loggingTags()

LogTags * UrnState::loggingTags ( ) const
LogTags (if the class logs transactions) or nil (otherwise)

Implements StoreClient.

Definition at line 54 of file

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

◆ mayInitiateCollapsing()

bool StoreClient::mayInitiateCollapsing ( ) const

◆ onCollapsingPath()

◆ operator delete()

void UrnState::operator delete ( void *  address)

Definition at line 32 of file

◆ operator new()

void * UrnState::operator new ( size_t  size)

Definition at line 32 of file

◆ setUriResFromRequest()

◆ start()

◆ startCollapsingOn()

bool StoreClient::startCollapsingOn ( const StoreEntry e,
const bool  doingRevalidation 
) const
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

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

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

◆ toCbdata()

void * UrnState::toCbdata ( )

Definition at line 32 of file

Member Data Documentation

◆ ale

AccessLogEntry::Pointer UrnState::ale

Definition at line 47 of file

Referenced by fillChecklist(), loggingTags(), setUriResFromRequest(), start(), and urnHandleReply().

◆ CBDATA_UrnState

cbdata_type UrnState::CBDATA_UrnState = CBDATA_UNKNOWN

Definition at line 32 of file

◆ entry

StoreEntry* UrnState::entry = nullptr

Definition at line 42 of file

Referenced by ~UrnState(), setUriResFromRequest(), start(), and urnHandleReply().

◆ parsingBuffer

Store::ParsingBuffer UrnState::parsingBuffer

Definition at line 50 of file

Referenced by start(), and urnHandleReply().

◆ request

HttpRequest::Pointer UrnState::request

Definition at line 45 of file

Referenced by fillChecklist(), start(), and urnHandleReply().

◆ sc

store_client* UrnState::sc = nullptr

Definition at line 43 of file

Referenced by ~UrnState(), start(), and urnHandleReply().

◆ urlres

char* UrnState::urlres = nullptr

Definition at line 57 of file

Referenced by ~UrnState(), setUriResFromRequest(), and start().

◆ urlres_e

StoreEntry* UrnState::urlres_e = nullptr

Definition at line 44 of file

Referenced by ~UrnState(), start(), and urnHandleReply().

◆ urlres_r

HttpRequest::Pointer UrnState::urlres_r

Definition at line 46 of file

Referenced by setUriResFromRequest(), and start().

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






Web Site Translations