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
Introduction
- About Squid
- Why Squid?
- Squid Developers
- How to Donate
- How to Help Out
- Getting Squid
- Squid Source Packages
- Squid Deployment Case-Studies
- Squid Software Foundation
Documentation
- Quick Setup
- Configuration:
- FAQ and Wiki
- Guide Books:
- Non-English
- More...
Support
- Security Advisories
- Bugzilla Database
- Mailing lists
- Contacting us
- Commercial services
- Project Sponsors
- Squid-based products
