1 #ifndef Utilities_XrdAdaptor_XrdFile_h
2 #define Utilities_XrdAdaptor_XrdFile_h
8 #include "XrdCl/XrdClFile.hh"
13 namespace XrdAdaptor {
17 namespace edm::storage {
26 virtual void create(
const char *name,
bool exclusive =
false,
int perms = 0666);
27 virtual void create(
const std::string &name,
bool exclusive =
false,
int perms = 0666);
47 void close(
void)
override;
48 virtual void abort(
void);
68 #endif // XRD_ADAPTOR_XRD_FILE_H
virtual void create(const char *name, bool exclusive=false, int perms=0666)
std::atomic< unsigned int > m_op_count
virtual IOSize readv(IOBuffer *into, IOSize buffers)
virtual IOOffset size() const
bool prefetch(const IOPosBuffer *what, IOSize n) override
std::shared_ptr< XrdCl::File > getActiveFile()
void resize(IOOffset size) override
IOSize write(const void *from, IOSize n) override
virtual IOOffset position() const
void addConnection(cms::Exception &)
void close(void) override
IOSize write(unsigned char byte)
IOSize readv(IOBuffer *into, IOSize n) override
virtual void open(const char *name, int flags=IOFlags::OpenRead, int perms=0666)
edm::propagate_const< std::shared_ptr< XrdAdaptor::RequestManager > > m_requestmanager