1 #ifndef STORAGE_FACTORY_LOCAL_CACHE_FILE_H
2 # define STORAGE_FACTORY_LOCAL_CACHE_FILE_H
31 virtual void flush (
void);
32 virtual void close (
void);
46 #endif // STORAGE_FACTORY_LOCAL_CACHE_FILE_H
tuple start
Check for commandline option errors.
void cache(IOOffset start, IOOffset end)
virtual IOSize write(const void *from, IOSize n, IOOffset pos)
virtual IOOffset position(void) const
virtual IOSize writev(const IOBuffer *from, IOSize n)
LocalCacheFile(Storage *base, const std::string &tmpdir="")
unsigned int offset(bool)
std::vector< char > present_
virtual IOSize write(const void *from, IOSize n)
virtual IOOffset size(void) const
virtual IOSize readv(IOBuffer *into, IOSize n)
virtual bool prefetch(const IOPosBuffer *what, IOSize n)
virtual void resize(IOOffset size)