Copy the data from one point to another. More...
#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 |
Copy the data from one point to another.
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 properties: source [string] - original source URL target [string] - target directory or file sourceLimit [uint16_t] - maximum number sources force [bool] - overwrite target if exists posc [bool] - persistify only on successful close coerce [bool] - ignore locking semantics on destination makeDir [bool] - create path to the file if it doesn't exist thirdParty [string] - "first" try third party copy, if it fails try normal copy; "only" only try third party copy checkSumMode [string] - "none" - no checksumming "end2end" - end to end checksumming "source" - calculate checksum at source "target" - calculate checksum at target checkSumType [string] - type of the checksum to be used checkSumPreset [string] - checksum preset chunkSize [uint32_t] - size of a copy chunks in bytes parallelChunks [uint8_t] - number of chunks that should be requested in parallel initTimeout [uint16_t] - time limit for successfull initialization of the copy job tpcTimeout [uint16_t] - time limit for the actual copy to finish dynamicSource [bool] - support for the case where the size source file may change during reading process
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] |