Adaptation::History::Entry Class Reference

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

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 78 of file History.h.

Constructor & Destructor Documentation

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

Definition at line 20 of file

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

Definition at line 25 of file

Member Function Documentation

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

Definition at line 36 of file

References current_time, and tvSubMsec().

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

Definition at line 30 of file

Member Data Documentation

bool Adaptation::History::Entry::retried

Definition at line 94 of file History.h.

String Adaptation::History::Entry::service

Definition at line 87 of file History.h.

timeval Adaptation::History::Entry::start

Definition at line 88 of file History.h.

int Adaptation::History::Entry::theRptm

Definition at line 91 of file History.h.

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






Web Site Translations