1 #ifndef STORAGE_FACTORY_LOCAL_CACHE_FILE_H
2 # define STORAGE_FACTORY_LOCAL_CACHE_FILE_H
33 virtual void flush (
void);
34 virtual void close (
void);
48 #endif // STORAGE_FACTORY_LOCAL_CACHE_FILE_H
void cache(IOOffset start, IOOffset end)
edm::propagate_const< std::unique_ptr< Storage > > storage_
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_
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)
virtual bool prefetch(const IOPosBuffer *what, IOSize n)
edm::propagate_const< std::unique_ptr< File > > file_
virtual void resize(IOOffset size)