XRootD
Loading...
Searching...
No Matches
XrdCephReadVNoOp.hh
Go to the documentation of this file.
1#ifndef __IXRD_CEPH_READV_NOOP_HH__
2#define __IXRD_CEPH_READV_NOOP_HH__
3//------------------------------------------------------------------------------
4// Interface to the actual buffer data object used to store the data
5// Intention to be able to abstract the underlying implementation and code against the inteface
6// e.g. if choice of buffer data object
7//------------------------------------------------------------------------------
8
9#include <sys/types.h>
10#include <vector>
11
12#include "BufferUtils.hh"
14
15namespace XrdCephBuffer
16{
17
23 class XrdCephReadVNoOp : virtual public IXrdCephReadVAdapter {
24 // nothing more than readV in, and readV out
25 public:
27 virtual ~XrdCephReadVNoOp() {}
28
29 virtual std::vector<ExtentHolder> convert(const ExtentHolder &extentsHolderInput) override;
30
31 protected:
32 };
33
34
35
36}
37
38#endif
Designed to hold individual extents, but itself provide Extent-like capabilities Useful in cases of c...
Interface to the logic of dealing with readV requests.
virtual std::vector< ExtentHolder > convert(const ExtentHolder &extentsHolderInput) override
Take in a set of extents representing the readV requests. return a vector of each combined read reque...
is a simple implementation of IXrdCephBufferData using std::vector<char> representation for the buffe...