![]() |
XRootD
|
Stat action. More...
#include <XrdClAction.hh>
Public Member Functions | |
StatAction (void *file, bool force, uint16_t timeout) | |
std::string | ArgStr () |
Convert operation arguments into a string. More... | |
std::string | Name () |
Action name. More... | |
void | Serialize (AnyObject *response) |
Serialize server response. More... | |
![]() | |
Action (void *file, uint16_t timeout) | |
virtual | ~Action () |
Destructor. More... | |
void | RecordResult (XRootDStatus *st, AnyObject *rsp) |
Record the server response / error / timeout. More... | |
std::string | ToString () |
Convert the action / response data into csv row. More... | |
Public Attributes | |
bool | force |
![]() | |
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 |
Additional Inherited Members | |
![]() | |
static double | time (std::chrono::time_point< std::chrono::system_clock, std::chrono::nanoseconds > tp) |
Convert timpoint to unix timestamp with ns. More... | |
static double | timeNow () |
Get curretn unix time in ns precision as a double. More... | |
Stat action.
Definition at line 186 of file XrdClAction.hh.
|
inline |
Definition at line 188 of file XrdClAction.hh.
|
inlinevirtual |
Convert operation arguments into a string.
Implements XrdCl::Action.
Definition at line 196 of file XrdClAction.hh.
References force.
|
inlinevirtual |
|
inlinevirtual |
Serialize server response.
Reimplemented from XrdCl::Action.
Definition at line 198 of file XrdClAction.hh.
References XrdCl::AnyObject::Get(), XrdCl::StatInfo::GetAccessTime(), XrdCl::StatInfo::GetChangeTime(), XrdCl::StatInfo::GetChecksum(), XrdCl::StatInfo::GetFlags(), XrdCl::StatInfo::GetGroup(), XrdCl::StatInfo::GetModeAsOctString(), XrdCl::StatInfo::GetModTime(), XrdCl::StatInfo::GetOwner(), XrdCl::StatInfo::GetSize(), and XrdCl::Action::serialrsp.
bool XrdCl::StatAction::force |
Definition at line 217 of file XrdClAction.hh.
Referenced by ArgStr().