![]() |
XRootD
|
Interface to the logic of dealing with readV requests. More...
#include <IXrdCephReadVAdapter.hh>
Public Member Functions | |
virtual | ~IXrdCephReadVAdapter () |
virtual std::vector< ExtentHolder > | convert (const ExtentHolder &extentsIn)=0 |
Take in a set of extents representing the readV requests. return a vector of each combined read request. Caller translates the readV request into a set of Extents (passed to an ExtentHolder). The logic of the specific concrete implementation combines the set of readV requests into merged requests. Output is a vector of those requests. Each ExtentHolder element holds the offset and len to be read, and also the contained extents of the readVs. The index of the readV element is not held, so the caller must ensure to match up appropriately. More... | |
Interface to the logic of dealing with readV requests.
Definition at line 22 of file IXrdCephReadVAdapter.hh.
|
inlinevirtual |
Definition at line 25 of file IXrdCephReadVAdapter.hh.
|
pure virtual |
Take in a set of extents representing the readV requests. return a vector of each combined read request. Caller translates the readV request into a set of Extents (passed to an ExtentHolder). The logic of the specific concrete implementation combines the set of readV requests into merged requests. Output is a vector of those requests. Each ExtentHolder element holds the offset and len to be read, and also the contained extents of the readVs. The index of the readV element is not held, so the caller must ensure to match up appropriately.
extentsIn |
Implemented in XrdCephBuffer::XrdCephReadVNoOp, and XrdCephBuffer::XrdCephReadVBasic.