#include <LogTags.h>

Collaboration diagram for LogTags:

Public Member Functions

 LogTags ()=default
 
 LogTags (const LogTags_ot t)
 
void update (const LogTags_ot t)
 
const char * c_str () const
 compute the status access.log field More...
 
bool isTcpHit () const
 determine if the log tag code indicates a cache HIT More...
 
const char * cacheStatusSource () const
 

Public Attributes

LogTagsErrors err
 various problems augmenting the primary log tag More...
 
LogTags_ot oldType = LOG_TAG_NONE
 a set of client protocol, cache use, and other transaction outcome tags More...
 
CollapsingHistory collapsingHistory
 controls CF tag presence More...
 

Static Private Attributes

static const char * Str_ []
 list of string representations for LogTags_ot More...
 

Detailed Description

Definition at line 66 of file LogTags.h.

Constructor & Destructor Documentation

◆ LogTags() [1/2]

LogTags::LogTags ( )
default

◆ LogTags() [2/2]

LogTags::LogTags ( const LogTags_ot  t)
inlineexplicit

Definition at line 70 of file LogTags.h.

References update().

Member Function Documentation

◆ c_str()

◆ cacheStatusSource()

◆ isTcpHit()

◆ update()

void LogTags::update ( const LogTags_ot  t)

Member Data Documentation

◆ collapsingHistory

CollapsingHistory LogTags::collapsingHistory

Definition at line 95 of file LogTags.h.

Referenced by c_str().

◆ err

LogTagsErrors LogTags::err

◆ oldType

◆ Str_

const char * LogTags::Str_
staticprivate
Initial value:
= {
"TAG_NONE",
"TCP_HIT",
"TCP_MISS",
"TCP_REFRESH_UNMODIFIED",
"TCP_REFRESH_FAIL_OLD",
"TCP_REFRESH_FAIL_ERR",
"TCP_REFRESH_MODIFIED",
"TCP_REFRESH",
"TCP_CLIENT_REFRESH_MISS",
"TCP_IMS_HIT",
"TCP_INM_HIT",
"TCP_SWAPFAIL_MISS",
"TCP_NEGATIVE_HIT",
"TCP_MEM_HIT",
"TCP_DENIED",
"TCP_DENIED_REPLY",
"TCP_OFFLINE_HIT",
"TCP_REDIRECT",
"TCP_TUNNEL",
"UDP_HIT",
"UDP_MISS",
"UDP_DENIED",
"UDP_INVALID",
"UDP_MISS_NOFETCH",
"ICP_QUERY",
"TYPE_MAX"
}

Definition at line 88 of file LogTags.h.

Referenced by c_str(), and update().


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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors