|
XRootD
|
#include <XrdEcReader.hh>
Collaboration diagram for XrdEc::Reader:Public Member Functions | |
| Reader (ObjCfg &objcfg) | |
| virtual | ~Reader () |
| void | Close (XrdCl::ResponseHandler *handler, uint16_t timeout=0) |
| Close the data object. | |
| uint64_t | GetSize () |
| void | Open (XrdCl::ResponseHandler *handler, uint16_t timeout=0) |
| void | Read (uint64_t offset, uint32_t length, void *buffer, XrdCl::ResponseHandler *handler, uint16_t timeout) |
| void | VectorRead (const XrdCl::ChunkList &chunks, void *buffer, XrdCl::ResponseHandler *handler, uint16_t timeout) |
Friends | |
| class | ::MicroTest |
| class | ::XrdEcTests |
| struct | block_t |
Definition at line 58 of file XrdEcReader.hh.
|
inline |
Constructor
| objcfg | : configuration for the data object (e.g. number of data and parity stripes) |
Definition at line 71 of file XrdEcReader.hh.
|
virtual |
Definition at line 427 of file XrdEcReader.cc.
References ~Reader().
Referenced by ~Reader().
Here is the call graph for this function:
Here is the caller graph for this function:| void XrdEc::Reader::Close | ( | XrdCl::ResponseHandler * | handler, |
| uint16_t | timeout = 0 ) |
Close the data object.
Definition at line 588 of file XrdEcReader.cc.
References XrdCl::Async(), Close(), XrdCl::CloseArchive(), XrdCl::Parallel(), and XrdEc::ScheduleHandler().
Referenced by Close().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 121 of file XrdEcReader.hh.
Referenced by VectorRead().
Here is the caller graph for this function:| void XrdEc::Reader::Open | ( | XrdCl::ResponseHandler * | handler, |
| uint16_t | timeout = 0 ) |
Open the erasure coded / striped object
| handler | : user callback |
Definition at line 434 of file XrdEcReader.cc.
References XrdCl::Async(), XrdEc::fntoblk(), XrdCl::ResponseHandler::HandleResponse(), XrdEc::Config::Instance(), Open(), XrdCl::OpenArchive(), XrdEc::OpenOnly(), XrdCl::Parallel(), and XrdCl::OpenFlags::Read.
Referenced by Open().
Here is the call graph for this function:
Here is the caller graph for this function:| void XrdEc::Reader::Read | ( | uint64_t | offset, |
| uint32_t | length, | ||
| void * | buffer, | ||
| XrdCl::ResponseHandler * | handler, | ||
| uint16_t | timeout ) |
Read data from the data object
| offset | : offset of the data to be read |
| length | : length of the data to be read |
| buffer | : buffer for the data to be read |
| handler | : user callback |
Definition at line 490 of file XrdEcReader.cc.
References XrdCl::Status::IsOK(), Read(), XrdEc::block_t::read(), and XrdEc::ScheduleHandler().
Referenced by Read().
Here is the call graph for this function:
Here is the caller graph for this function:| void XrdEc::Reader::VectorRead | ( | const XrdCl::ChunkList & | chunks, |
| void * | buffer, | ||
| XrdCl::ResponseHandler * | handler, | ||
| uint16_t | timeout ) |
Definition at line 868 of file XrdEcReader.cc.
References XrdCl::errInvalidArgs, XrdCl::DefaultEnv::GetLog(), GetSize(), XrdCl::ResponseHandler::HandleResponse(), XrdEc::block_t::Loading, Stat, XrdCl::stError, XrdCl::VectorRead(), VectorRead(), and XrdCl::XRootDMsg.
Referenced by VectorRead().
Here is the call graph for this function:
Here is the caller graph for this function:
|
friend |
Definition at line 60 of file XrdEcReader.hh.
|
friend |
Definition at line 61 of file XrdEcReader.hh.
|
friend |