No Matches
Classes | Typedefs
XrdSfsXio.hh File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


class  XrdSfsXio


typedef class XrdBufferXrdSfsXioHandle

Typedef Documentation

◆ XrdSfsXioHandle

typedef class XrdBuffer* XrdSfsXioHandle


This class is used to allow file I/O interfaces to perform exchange buffer I/O in order to minimize data copying. When this feature is enabled, the XrdSfsInterface::setXio() method is called on a newly created XrdSfsFile object. Ideally, all oustanding buffers should be be released when the file is closed. Alternatively, the XrdSfsXio::Reclaim() method may be used at any time when it is convenient to do so. For best performance, use XrdSfsXio::Swap() as it provides memory locality and is kind to the cache. Buffer swapping is only supported for common file write operations.