Loading...
Searching...
No Matches
XrdCephReadVNoOp.hh
Go to the documentation of this file.
#ifndef __IXRD_CEPH_READV_NOOP_HH__
#define __IXRD_CEPH_READV_NOOP_HH__
//------------------------------------------------------------------------------
// Interface to the actual buffer data object used to store the data
// Intention to be able to abstract the underlying implementation and code against the inteface
// e.g. if choice of buffer data object
//------------------------------------------------------------------------------
#include <sys/types.h>
#include <vector>
#include "BufferUtils.hh"
#include "IXrdCephReadVAdapter.hh"
namespace XrdCephBuffer
{
class XrdCephReadVNoOp : virtual public IXrdCephReadVAdapter {
// nothing more than readV in, and readV out
public:
XrdCephReadVNoOp() {}
virtual ~XrdCephReadVNoOp() {}
virtual std::vector<ExtentHolder> convert(const ExtentHolder &extentsHolderInput) override;
protected:
};
}
#endif
BufferUtils.hh
IXrdCephReadVAdapter.hh
XrdCephBuffer::ExtentHolder
Designed to hold individual extents, but itself provide Extent-like capabilities Useful in cases of c...
Definition BufferUtils.hh:109
XrdCephBuffer::IXrdCephReadVAdapter
Interface to the logic of dealing with readV requests.
Definition IXrdCephReadVAdapter.hh:23
XrdCephBuffer::XrdCephReadVNoOp::~XrdCephReadVNoOp
virtual ~XrdCephReadVNoOp()
Definition XrdCephReadVNoOp.hh:27
XrdCephBuffer::XrdCephReadVNoOp::XrdCephReadVNoOp
XrdCephReadVNoOp()
Definition XrdCephReadVNoOp.hh:26
XrdCephBuffer::XrdCephReadVNoOp::convert
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...
Definition XrdCephReadVNoOp.cc:7
XrdCephBuffer
is a simple implementation of IXrdCephBufferData using std::vector<char> representation for the buffe...
Definition BufferUtils.hh:29