Adaptation::History::Entry Class Reference

single Xaction stats (i.e., a historical record entry) More...

Collaboration diagram for Adaptation::History::Entry:

Public Member Functions

 Entry (const String &serviceId, const timeval &when)
 
 Entry ()
 
void stop ()
 updates stats on transaction end More...
 
int rptm ()
 returns response time [msec], calculates it if needed More...
 

Public Attributes

String service
 adaptation service ID More...
 
timeval start
 when the xaction was started More...
 
bool retried
 whether the xaction was replaced by another More...
 

Private Attributes

int theRptm
 calculated and cached response time value in msec More...
 

Detailed Description

Definition at line 79 of file History.h.

Constructor & Destructor Documentation

◆ Entry() [1/2]

Adaptation::History::Entry::Entry ( const String serviceId,
const timeval &  when 
)

Definition at line 21 of file History.cc.

◆ Entry() [2/2]

Adaptation::History::Entry::Entry ( )

Definition at line 26 of file History.cc.

Member Function Documentation

◆ rptm()

int Adaptation::History::Entry::rptm ( )

Definition at line 37 of file History.cc.

References current_time, and tvSubMsec().

◆ stop()

void Adaptation::History::Entry::stop ( )

Definition at line 31 of file History.cc.

Member Data Documentation

◆ retried

bool Adaptation::History::Entry::retried

Definition at line 95 of file History.h.

◆ service

String Adaptation::History::Entry::service

Definition at line 88 of file History.h.

◆ start

timeval Adaptation::History::Entry::start

Definition at line 89 of file History.h.

◆ theRptm

int Adaptation::History::Entry::theRptm
private

Definition at line 92 of file History.h.


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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors