#include <XrdClCopyProcess.hh>
Public Member Functions | |
CopyProcess () | |
Constructor. | |
virtual | ~CopyProcess () |
Destructor. | |
XRootDStatus | AddJob (const PropertyList &properties, PropertyList *results) |
XRootDStatus | Prepare () |
XRootDStatus | Run (CopyProgressHandler *handler) |
Run the copy jobs. | |
Private Member Functions | |
void | CleanUpJobs () |
Private Attributes | |
std::vector< PropertyList > | pJobProperties |
std::vector< PropertyList * > | pJobResults |
std::vector< CopyJob * > | pJobs |
XrdCl::CopyProcess::CopyProcess | ( | ) | [inline] |
Constructor.
virtual XrdCl::CopyProcess::~CopyProcess | ( | ) | [virtual] |
Destructor.
XRootDStatus XrdCl::CopyProcess::AddJob | ( | const PropertyList & | properties, | |
PropertyList * | results | |||
) |
Add job
properties | job configuration parameters | |
results | placeholder for the results |
Configuration job - this is a job that that is supposed to configure the copy process as a whole instead of adding a copy job:
jobType [string] - "configuration" - for configuraion parallel [uint8_t] - nomber of copy jobs to be run in parallel
Results: sourceCheckSum [string] - checksum at source, if requested targetCheckSum [string] - checksum at target, if requested size [uint64_t] - file size status [XRootDStatus] - status of the copy operation sources [vector<string>] - all sources used realTarget [string] - the actual disk server target
void XrdCl::CopyProcess::CleanUpJobs | ( | ) | [private] |
XRootDStatus XrdCl::CopyProcess::Prepare | ( | ) |
XRootDStatus XrdCl::CopyProcess::Run | ( | CopyProgressHandler * | handler | ) |
Run the copy jobs.
std::vector<PropertyList> XrdCl::CopyProcess::pJobProperties [private] |
std::vector<PropertyList*> XrdCl::CopyProcess::pJobResults [private] |
std::vector<CopyJob*> XrdCl::CopyProcess::pJobs [private] |