![]() |
XRootD
|
#include <XrdClXRootDResponses.hh>
Public Member Functions | |
PageInfo (PageInfo &&pginf) | |
Move constructor. More... | |
PageInfo (uint64_t offset=0, uint32_t length=0, void *buffer=0, std::vector< uint32_t > &&cksums=std::vector< uint32_t >()) | |
Default constructor. More... | |
~PageInfo () | |
Destructor. More... | |
void * | GetBuffer () |
Get the buffer. More... | |
std::vector< uint32_t > & | GetCksums () |
Get the checksums. More... | |
uint32_t | GetLength () const |
Get the data length. More... | |
size_t | GetNbRepair () |
Get number of repaired pages. More... | |
uint64_t | GetOffset () const |
Get the offset. More... | |
PageInfo & | operator= (PageInfo &&pginf) |
Move assigment operator. More... | |
void | SetNbRepair (size_t nbrepair) |
Set number of repaired pages. More... | |
Definition at line 956 of file XrdClXRootDResponses.hh.
XrdCl::PageInfo::PageInfo | ( | uint64_t | offset = 0 , |
uint32_t | length = 0 , |
||
void * | buffer = 0 , |
||
std::vector< uint32_t > && | cksums = std::vector<uint32_t>() |
||
) |
Default constructor.
Definition at line 624 of file XrdClXRootDResponses.cc.
XrdCl::PageInfo::PageInfo | ( | PageInfo && | pginf | ) |
Move constructor.
Definition at line 633 of file XrdClXRootDResponses.cc.
XrdCl::PageInfo::~PageInfo | ( | ) |
void * XrdCl::PageInfo::GetBuffer | ( | ) |
Get the buffer.
Definition at line 672 of file XrdClXRootDResponses.cc.
Referenced by XrdCl::XCpSrc::DeleteChunk(), and XrdPosixFileRH::HandleResponse().
std::vector< uint32_t > & XrdCl::PageInfo::GetCksums | ( | ) |
Get the checksums.
Definition at line 680 of file XrdClXRootDResponses.cc.
Referenced by XrdPosixFileRH::HandleResponse(), and XrdCl::File::PgRead().
uint32_t XrdCl::PageInfo::GetLength | ( | ) | const |
Get the data length.
Definition at line 664 of file XrdClXRootDResponses.cc.
Referenced by XrdCl::XCpCtx::GetChunk(), XrdPosixFileRH::HandleResponse(), XrdCl::ChunkHandler::HandleResponse(), XrdCl::File::PgRead(), XrdCl::ClassicCopyJob::Run(), and XrdCl::PgReadAction::Serialize().
size_t XrdCl::PageInfo::GetNbRepair | ( | ) |
Get number of repaired pages.
Definition at line 696 of file XrdClXRootDResponses.cc.
Referenced by XrdPosixFileRH::HandleResponse(), and XrdCl::PgReadAction::Serialize().
uint64_t XrdCl::PageInfo::GetOffset | ( | ) | const |
Get the offset.
Definition at line 656 of file XrdClXRootDResponses.cc.
Referenced by XrdPosixFileRH::HandleResponse().
Move assigment operator.
Definition at line 640 of file XrdClXRootDResponses.cc.
void XrdCl::PageInfo::SetNbRepair | ( | size_t | nbrepair | ) |
Set number of repaired pages.
Definition at line 688 of file XrdClXRootDResponses.cc.