|
XRootD
|
#include <XrdClXCpSrc.hh>
Collaboration diagram for XrdCl::XCpSrc:Public Member Functions | |
| XCpSrc (uint32_t chunkSize, uint8_t parallel, int64_t fileSize, XCpCtx *ctx) | |
| void | Delete () |
| bool | HasData () |
| bool | IsRunning () |
| XCpSrc * | Self () |
| void | Start () |
| void | Stop () |
| uint64_t | TransferRate () |
Static Public Member Functions | |
| static void | DeleteChunk (PageInfo *&chunk) |
Friends | |
| class | ChunkHandler |
Definition at line 37 of file XrdClXCpSrc.hh.
| XrdCl::XCpSrc::XCpSrc | ( | uint32_t | chunkSize, |
| uint8_t | parallel, | ||
| int64_t | fileSize, | ||
| XCpCtx * | ctx ) |
Constructor.
| chunkSize | : default chunk size |
| parallel | : number of parallel chunks |
| fileSize | : file size if available (e.g. in metalink file), should be set to -1 if not available, in this case a stat will be performed during initialization |
| ctx | : Extreme Copy context |
Definition at line 110 of file XrdClXCpSrc.cc.
References Self().
Referenced by Self().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Deletes the instance if the reference counter reached 0.
Definition at line 71 of file XrdClXCpSrc.hh.
References XrdSysMutexHelper::UnLock().
Here is the call graph for this function:
|
inlinestatic |
Delete ChunkInfo object, and set the pointer to null.
| chunk | : the chunk to be deleted |
Definition at line 126 of file XrdClXCpSrc.hh.
References XrdCl::PageInfo::GetBuffer().
Here is the call graph for this function:
|
inline |
Definition at line 106 of file XrdClXCpSrc.hh.
Referenced by XrdCl::XCpCtx::WeakestLink().
Here is the caller graph for this function:
|
inline |
Definition at line 97 of file XrdClXCpSrc.hh.
|
inline |
Increments the reference counter.
Definition at line 87 of file XrdClXCpSrc.hh.
References XCpSrc().
Referenced by XCpSrc().
Here is the call graph for this function:
Here is the caller graph for this function:| void XrdCl::XCpSrc::Start | ( | ) |
Creates new thread with XCpSrc::Run as the start routine.
Definition at line 123 of file XrdClXCpSrc.cc.
Referenced by XrdCl::XCpCtx::Initialize().
Here is the caller graph for this function:
|
inline |
| uint64_t XrdCl::XCpSrc::TransferRate | ( | ) |
Get the transfer rate for current source
Definition at line 584 of file XrdClXCpSrc.cc.
Referenced by XrdCl::XCpCtx::WeakestLink().
Here is the caller graph for this function:
|
friend |