![]() |
XRootD
|
Classes | |
struct | block_t |
class | BufferPool |
Pool of buffer for caching writes. More... | |
class | Config |
Global configuration for the EC module. More... | |
class | Convert |
class | IOError |
Generic I/O exception, wraps up XrdCl::XRootDStatus (. More... | |
struct | ObjCfg |
class | OpenOnlyImpl |
class | Reader |
class | RedundancyProvider |
class | ResponseJob |
struct | stripe_t |
A buffer with stripe data and info on validity. More... | |
class | StrmWriter |
struct | sync_queue |
class | ThreadPool |
class | WrtBuff |
Typedefs | |
typedef std::vector< char > | buffer_t |
a buffer type More... | |
typedef std::function< void(const XrdCl::XRootDStatus &, uint32_t)> | callback_t |
typedef std::vector< stripe_t > | stripes_t |
All stripes in a block. More... | |
Functions | |
static size_t | fntoblk (const std::string &fn) |
static int | gf_gen_decode_matrix (unsigned char *encode_matrix, unsigned char *decode_matrix, unsigned int *decode_index, unsigned char *src_err_list, unsigned char *src_in_err, unsigned int nerrs, unsigned int nsrcerrs, unsigned int k, unsigned int m) |
static uint32_t | isal_crc32 (uint32_t crc, void const *buf, size_t len) |
ISAL crc32 implementation. More... | |
OpenOnlyImpl< false > | OpenOnly (XrdCl::Ctx< XrdCl::ZipArchive > zip, XrdCl::Arg< std::string > fn, XrdCl::Arg< bool > updt, uint16_t timeout=0) |
void | ScheduleHandler (uint64_t offset, uint32_t size, void *buffer, XrdCl::ResponseHandler *handler) |
void | ScheduleHandler (XrdCl::ResponseHandler *handler, const XrdCl::XRootDStatus &st) |
Variables | |
static const std::string | ObjStr = "obj" |
typedef std::vector< char > XrdEc::buffer_t |
a buffer type
Definition at line 49 of file XrdEcReader.hh.
typedef std::function<void( const XrdCl::XRootDStatus&, uint32_t )> XrdEc::callback_t |
Definition at line 53 of file XrdEcReader.hh.
typedef std::vector<stripe_t> XrdEc::stripes_t |
All stripes in a block.
Definition at line 64 of file XrdEcUtilities.hh.
|
inlinestatic |
Definition at line 251 of file XrdEcUtilities.hh.
Referenced by XrdEc::Reader::Open().
|
static |
Definition at line 73 of file XrdEcRedundancyProvider.cc.
|
inlinestatic |
ISAL crc32 implementation.
Definition at line 26 of file XrdEcObjCfg.hh.
Referenced by XrdEc::ObjCfg::ObjCfg().
|
inline |
Definition at line 105 of file XrdEcReader.cc.
References XrdCl::ConcreteOperation< Derived, HasHndl, HdlrFactory, Args >::Timeout().
Referenced by XrdEc::Reader::Open().
void XrdEc::ScheduleHandler | ( | uint64_t | offset, |
uint32_t | size, | ||
void * | buffer, | ||
XrdCl::ResponseHandler * | handler | ||
) |
A utility function for scheduling read operation handler
offset | : offset of the read |
size | : number of bytes read |
buffer | : buffer with the data read |
handler | : user callback |
Definition at line 64 of file XrdEcUtilities.cc.
References XrdCl::ChunkInfo::buffer, XrdCl::PostMaster::GetJobManager(), XrdCl::DefaultEnv::GetPostMaster(), XrdCl::ChunkInfo::length, XrdCl::ChunkInfo::offset, XrdCl::JobManager::QueueJob(), and XrdCl::AnyObject::Set().
Referenced by XrdEc::Reader::Close(), XrdEc::StrmWriter::Close(), XrdEc::Reader::Read(), and XrdEc::StrmWriter::Write().
void XrdEc::ScheduleHandler | ( | XrdCl::ResponseHandler * | handler, |
const XrdCl::XRootDStatus & | st = XrdCl::XRootDStatus() |
||
) |
A utility function for scheduling an operation handler
handler | : user callback |
st | : operation status |
Definition at line 83 of file XrdEcUtilities.cc.
References XrdCl::PostMaster::GetJobManager(), XrdCl::DefaultEnv::GetPostMaster(), and XrdCl::JobManager::QueueJob().
|
static |
Definition at line 32 of file XrdEcObjCfg.hh.
Referenced by XrdEc::ObjCfg::GetFileName().