1 #ifndef STORAGE_FACTORY_STORAGE_ACCOUNT_PROXY_H
2 # define STORAGE_FACTORY_STORAGE_ACCOUNT_PROXY_H
38 virtual void flush (
void);
39 virtual void close (
void);
53 #endif // STORAGE_FACTORY_STORAGE_ACCOUNT_PROXY_H
virtual IOSize writev(const IOBuffer *from, IOSize n)
virtual bool prefetch(const IOPosBuffer *what, IOSize n)
StorageAccount::Counter & m_statsWrite
~StorageAccountProxy(void)
StorageAccount::Counter & m_statsPosition
std::unique_ptr< Storage > m_baseStorage
StorageAccount::Counter & m_statsRead
StorageAccount::StorageClassToken m_token
virtual IOSize write(const void *from, IOSize n, IOOffset pos)
virtual IOSize readv(IOBuffer *into, IOSize n)
StorageAccount::Counter & m_statsWriteV
StorageAccount::Counter & m_statsPrefetch
virtual IOOffset position(void) const
virtual IOSize write(const void *from, IOSize n)
virtual void resize(IOOffset size)
virtual IOOffset size(void) const
StorageAccount::Counter & m_statsReadV
StorageAccountProxy(const std::string &storageClass, std::unique_ptr< Storage > baseStorage)