![]() |
XRootD
|
Truncate action. More...
#include <XrdClAction.hh>
Public Member Functions | |
TruncateAction (void *file, uint64_t size, uint16_t timeout) | |
std::string | ArgStr () |
Convert operation arguments into a string. More... | |
std::string | Name () |
Action name. More... | |
![]() | |
Action (void *file, uint16_t timeout) | |
virtual | ~Action () |
Destructor. More... | |
void | RecordResult (XRootDStatus *st, AnyObject *rsp) |
Record the server response / error / timeout. More... | |
virtual void | Serialize (AnyObject *response) |
Serialize server response. More... | |
std::string | ToString () |
Convert the action / response data into csv row. More... | |
Public Attributes | |
uint32_t | size |
![]() | |
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... | |
Truncate action.
Definition at line 335 of file XrdClAction.hh.
|
inline |
Definition at line 337 of file XrdClAction.hh.
|
inlinevirtual |
Convert operation arguments into a string.
Implements XrdCl::Action.
Definition at line 345 of file XrdClAction.hh.
References size.
|
inlinevirtual |
uint32_t XrdCl::TruncateAction::size |
Definition at line 347 of file XrdClAction.hh.
Referenced by ArgStr().