1 #ifndef DCACHE_ADAPTOR_DCACHE_FILE_H 2 #define DCACHE_ADAPTOR_DCACHE_FILE_H 16 virtual void create(
const char *name,
bool exclusive =
false,
int perms = 0666);
33 void close(
void)
override;
34 virtual void abort(
void);
42 #endif // DCACHE_ADAPTOR_DCACHE_FILE_H void close(void) override
void resize(IOOffset size) override
IOSize write(const void *from, IOSize n) override
~DCacheFile(void) override
virtual IOSize write(const void *from, IOSize n, IOOffset pos)
virtual void create(const char *name, bool exclusive=false, int perms=0666)
virtual IOOffset position(void) const
virtual void open(const char *name, int flags=IOFlags::OpenRead, int perms=0666)
virtual IOOffset size(void) const
IOSize readv(IOBuffer *into, IOSize buffers) override