xrootd
|
VectorRead action. More...
#include <XrdClAction.hh>
Public Member Functions | |
VectorReadAction (void *file, const ChunkList &chunks, uint16_t timeout) | |
std::string | Name () |
Action name. More... | |
std::string | ArgStr () |
Convert operation arguments into a string. More... | |
void | Serialize (AnyObject *response) |
Serialize server response. More... | |
![]() | |
Action (void *file, uint16_t timeout) | |
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... | |
virtual | ~Action () |
Destructor. More... | |
virtual std::string | Name ()=0 |
Action name. More... | |
virtual std::string | ArgStr ()=0 |
Convert operation arguments into a string. More... | |
virtual void | Serialize (AnyObject *response) |
Serialize server response. More... | |
Public Attributes | |
ChunkList | req |
![]() | |
uint64_t | id |
uint16_t | timeout |
std::chrono::system_clock::time_point | start |
XRootDStatus | status |
std::string | serialrsp |
std::chrono::system_clock::time_point | stop |
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... | |
VectorRead action.
|
inline |
|
inlinevirtual |
|
inlinevirtual |
Action name.
Implements XrdCl::Action.
|
inlinevirtual |
Serialize server response.
Reimplemented from XrdCl::Action.
References XrdCl::AnyObject::Get(), XrdCl::VectorReadInfo::GetChunks(), XrdCl::VectorReadInfo::GetSize(), and XrdCl::Action::serialrsp.