#include <XrdEcReader.hh>
◆ dataarchs_t
◆ metadata_t
◆ missing_t
◆ urlmap_t
◆ Reader()
XrdEc::Reader::Reader |
( |
ObjCfg & |
objcfg | ) |
|
|
inline |
Constructor
- Parameters
-
objcfg | : configuration for the data object (e.g. number of data and parity stripes) |
◆ ~Reader()
virtual XrdEc::Reader::~Reader |
( |
| ) |
|
|
virtual |
◆ AddMissing()
void XrdEc::Reader::AddMissing |
( |
const buffer_t & |
cdbuff | ) |
|
|
private |
Add all the entries from given Central Directory to missing
- Parameters
-
cdbuff | : buffer containing central directory |
◆ Close()
◆ Open()
Open the erasure coded / striped object
- Parameters
-
◆ ParseMetadata()
Parse metadata from chunk info object
- Parameters
-
ch | : chunk info object returned by a read operation |
◆ Read() [1/2]
void XrdEc::Reader::Read |
( |
uint64_t |
offset, |
|
|
uint32_t |
length, |
|
|
void * |
buffer, |
|
|
XrdCl::ResponseHandler * |
handler |
|
) |
| |
Read data from the data object
- Parameters
-
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 |
◆ Read() [2/2]
void XrdEc::Reader::Read |
( |
size_t |
blknb, |
|
|
size_t |
strpnb, |
|
|
buffer_t & |
buffer, |
|
|
callback_t |
cb |
|
) |
| |
|
private |
Read data from given stripes from given block
- Parameters
-
blknb | : number of the block |
strpnb | : number of stripe in the block |
buffer | : buffer for the data |
cb | : callback |
◆ ReadMetadata()
Read metadata for the object
- Parameters
-
◆ ::MicroTest
◆ block_t
◆ block
std::shared_ptr<block_t> XrdEc::Reader::block |
|
private |
◆ dataarchs
◆ metadata
◆ missing
◆ objcfg
◆ urlmap
The documentation for this class was generated from the following file: