1 #ifndef STORAGE_FACTORY_STORAGE_ACCOUNT_PROXY_H
2 # define STORAGE_FACTORY_STORAGE_ACCOUNT_PROXY_H
37 virtual void flush (
void);
38 virtual void close (
void);
52 #endif // STORAGE_FACTORY_STORAGE_ACCOUNT_PROXY_H
virtual IOSize writev(const IOBuffer *from, IOSize n)
StorageAccountProxy(const std::string &storageClass, Storage *baseStorage)
virtual bool prefetch(const IOPosBuffer *what, IOSize n)
StorageAccount::Counter & m_statsWrite
~StorageAccountProxy(void)
StorageAccount::Counter & m_statsPosition
std::string m_storageClass
StorageAccount::Counter & m_statsRead
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)
unsigned int offset(bool)
virtual void resize(IOOffset size)
virtual IOOffset size(void) const
StorageAccount::Counter & m_statsReadV