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
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
◆ service
◆ start
◆ theRptm
The documentation for this class was generated from the following files:
- src/adaptation/History.h
- src/adaptation/History.cc
