#include <LogTags.h>

Collaboration diagram for LogTagsErrors:

Public Member Functions

void update (const LogTagsErrors &other)
 

Static Public Member Functions

static LogTagsErrors FromErrno (int errNo)
 constructs an object matching errno(3) of a failed I/O call More...
 

Public Attributes

bool ignored = false
 _IGNORED: the response was not used for anything More...
 
bool timedout = false
 _TIMEDOUT: terminated due to a lifetime or I/O timeout More...
 
bool aborted = false
 _ABORTED: other abnormal termination (e.g., I/O error) More...
 

Detailed Description

Things that may happen to a transaction while it is being processed according to its LOG_* category. Logged as SUFFIX(es). Unlike LOG* categories, these flags may not be mutually exclusive.

Definition at line 17 of file LogTags.h.

Member Function Documentation

◆ FromErrno()

LogTagsErrors LogTagsErrors::FromErrno ( int  errNo)
static

Definition at line 22 of file LogTags.cc.

References aborted, and timedout.

Referenced by Server::clientWriteDone(), Server::doClientRead(), and FwdState::updateAleWithFinalError().

◆ update()

void LogTagsErrors::update ( const LogTagsErrors other)

Update each of this object flags to "set" if the corresponding flag of the given object is set

Definition at line 14 of file LogTags.cc.

References aborted, ignored, and timedout.

Referenced by FwdState::updateAleWithFinalError().

Member Data Documentation

◆ aborted

bool LogTagsErrors::aborted = false

Definition at line 29 of file LogTags.h.

Referenced by LogTags::c_str(), Server::doClientRead(), FromErrno(), and update().

◆ ignored

bool LogTagsErrors::ignored = false

Definition at line 27 of file LogTags.h.

Referenced by LogTags::c_str(), and update().

◆ timedout

bool LogTagsErrors::timedout = false

Definition at line 28 of file LogTags.h.

Referenced by LogTags::c_str(), FromErrno(), ConnStateData::lifetimeTimeout(), and update().


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

 

Introduction

Documentation

Support

Miscellaneous