xrootd
Classes | Typedefs | Functions
XrdEc Namespace Reference

Classes

class  BufferPool
 Pool of buffer for caching writes. More...
 
class  Config
 Global configuration for the EC module. More...
 
class  IOError
 Generic I/O exception, wraps up XrdCl::XRootDStatus (. More...
 
struct  ObjCfg
 
class  OpenOnlyImpl
 
class  Reader
 
class  RedundancyProvider
 
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_tstripes_t
 All stripes in a block. More...
 

Functions

void ScheduleHandler (uint64_t offset, uint32_t size, void *buffer, XrdCl::ResponseHandler *handler)
 
void ScheduleHandler (XrdCl::ResponseHandler *handler, const XrdCl::XRootDStatus &st=XrdCl::XRootDStatus())
 

Typedef Documentation

◆ buffer_t

typedef std::vector< char > XrdEc::buffer_t

a buffer type

◆ callback_t

typedef std::function<void( const XrdCl::XRootDStatus&, uint32_t )> XrdEc::callback_t

◆ stripes_t

typedef std::vector<stripe_t> XrdEc::stripes_t

All stripes in a block.

Function Documentation

◆ ScheduleHandler() [1/2]

void XrdEc::ScheduleHandler ( uint64_t  offset,
uint32_t  size,
void *  buffer,
XrdCl::ResponseHandler handler 
)

A utility function for scheduling read operation handler

Parameters
offset: offset of the read
size: number of bytes read
buffer: buffer with the data read
handler: user callback

◆ ScheduleHandler() [2/2]

void XrdEc::ScheduleHandler ( XrdCl::ResponseHandler handler,
const XrdCl::XRootDStatus st = XrdCl::XRootDStatus() 
)

A utility function for scheduling an operation handler

Parameters
handler: user callback
st: operation status