1 #ifndef STORAGE_FACTORY_LOCAL_CACHE_FILE_H
2 # define STORAGE_FACTORY_LOCAL_CACHE_FILE_H
32 virtual void flush (
void);
33 virtual void close (
void);
47 #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)
std::vector< char > present_
std::unique_ptr< Storage > storage_
virtual IOSize write(const void *from, IOSize n)
virtual IOOffset size(void) const
LocalCacheFile(std::unique_ptr< Storage > base, const std::string &tmpdir="")
virtual IOSize readv(IOBuffer *into, IOSize n)
std::unique_ptr< File > file_
virtual bool prefetch(const IOPosBuffer *what, IOSize n)
virtual void resize(IOOffset size)