XRootD
Loading...
Searching...
No Matches
IXrdCephReadVAdapter.hh
Go to the documentation of this file.
1#ifndef __IXRD_CEPH_READV_ADAPTER_HH__
2#define __IXRD_CEPH_READV_ADAPTER_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"
13
14#include <iostream> // #FIXME remove
15
16namespace XrdCephBuffer
17{
18
23 {
24 public:
26
38 virtual std::vector<ExtentHolder> convert(const ExtentHolder &extentsIn) =0;
39
40 protected:
41 };
42
43}
44
45#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 &extentsIn)=0
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...