|
XRootD
|
#include <XrdClAction.hh>
Inheritance diagram for XrdCl::Action:
Collaboration diagram for XrdCl::Action:Public Member Functions | |
| Action (void *file, uint16_t timeout) | |
| virtual | ~Action () |
| Destructor. | |
| virtual std::string | ArgStr ()=0 |
| Convert operation arguments into a string. | |
| virtual std::string | Name ()=0 |
| Action name. | |
| void | RecordResult (XRootDStatus *st, AnyObject *rsp) |
| Record the server response / error / timeout. | |
| virtual void | Serialize (AnyObject *response) |
| Serialize server response. | |
| std::string | ToString () |
| Convert the action / response data into csv row. | |
Static Public Member Functions | |
| static double | time (std::chrono::time_point< std::chrono::system_clock, std::chrono::nanoseconds > tp) |
| Convert timpoint to unix timestamp with ns. | |
| static double | timeNow () |
| Get curretn unix time in ns precision as a double. | |
Public Attributes | |
| uint64_t | id |
| std::string | serialrsp |
| std::chrono::system_clock::time_point | start |
| XRootDStatus | status |
| std::chrono::system_clock::time_point | stop |
| uint16_t | timeout |
Definition at line 38 of file XrdClAction.hh.
|
inline |
Definition at line 46 of file XrdClAction.hh.
|
inlinevirtual |
|
pure virtual |
Convert operation arguments into a string.
Implemented in XrdCl::OpenAction, XrdCl::CloseAction, XrdCl::StatAction, XrdCl::ReadAction, XrdCl::PgReadAction, XrdCl::WriteAction, XrdCl::PgWriteAction, XrdCl::SyncAction, XrdCl::TruncateAction, XrdCl::VectorReadAction, XrdCl::VectorWriteAction, and XrdCl::FcntlAction.
Referenced by ToString().
Here is the caller graph for this function:
|
pure virtual |
Action name.
Implemented in XrdCl::OpenAction, XrdCl::CloseAction, XrdCl::StatAction, XrdCl::ReadAction, XrdCl::PgReadAction, XrdCl::WriteAction, XrdCl::PgWriteAction, XrdCl::SyncAction, XrdCl::TruncateAction, XrdCl::VectorReadAction, XrdCl::VectorWriteAction, and XrdCl::FcntlAction.
Referenced by ToString().
Here is the caller graph for this function:
|
inline |
Record the server response / error / timeout.
Definition at line 56 of file XrdClAction.hh.
References Serialize(), status, and stop.
Here is the call graph for this function:
|
inlinevirtual |
Serialize server response.
Reimplemented in XrdCl::StatAction, XrdCl::ReadAction, XrdCl::PgReadAction, XrdCl::VectorReadAction, and XrdCl::FcntlAction.
Definition at line 128 of file XrdClAction.hh.
Referenced by RecordResult().
Here is the caller graph for this function:
|
inlinestatic |
Convert timpoint to unix timestamp with ns.
Definition at line 66 of file XrdClAction.hh.
Referenced by timeNow(), and ToString().
Here is the caller graph for this function:
|
inlinestatic |
Get curretn unix time in ns precision as a double.
Definition at line 78 of file XrdClAction.hh.
References time().
Referenced by XrdCl::ExecuteActions(), and main().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Convert the action / response data into csv row.
Definition at line 88 of file XrdClAction.hh.
References ArgStr(), Name(), serialrsp, start, status, stop, time(), timeout, and XrdCl::Status::ToString().
Here is the call graph for this function:| uint64_t XrdCl::Action::id |
Definition at line 130 of file XrdClAction.hh.
| std::string XrdCl::Action::serialrsp |
Definition at line 134 of file XrdClAction.hh.
Referenced by XrdCl::StatAction::Serialize(), XrdCl::ReadAction::Serialize(), XrdCl::PgReadAction::Serialize(), XrdCl::VectorReadAction::Serialize(), XrdCl::FcntlAction::Serialize(), and ToString().
| std::chrono::system_clock::time_point XrdCl::Action::start |
Definition at line 132 of file XrdClAction.hh.
Referenced by ToString().
| XRootDStatus XrdCl::Action::status |
Definition at line 133 of file XrdClAction.hh.
Referenced by RecordResult(), and ToString().
| std::chrono::system_clock::time_point XrdCl::Action::stop |
Definition at line 135 of file XrdClAction.hh.
Referenced by RecordResult(), and ToString().
| uint16_t XrdCl::Action::timeout |
Definition at line 131 of file XrdClAction.hh.
Referenced by ToString().