#pragma once #ifndef BLOBSTORE_IMPLEMENTATIONS_BLOCKED_BLOBSTOREONBLOCKS_H_ #define BLOBSTORE_IMPLEMENTATIONS_BLOCKED_BLOBSTOREONBLOCKS_H_ #include "../../interface/BlobStore.h" #include "messmer/blockstore/interface/BlockStore.h" namespace blobstore { namespace onblocks { namespace parallelaccessdatatreestore { class ParallelAccessDataTreeStore; } class BlobStoreOnBlocks: public BlobStore { public: BlobStoreOnBlocks(std::unique_ptr blockStore, uint32_t blocksizeBytes); virtual ~BlobStoreOnBlocks(); std::unique_ptr create() override; std::unique_ptr load(const blockstore::Key &key) override; void remove(std::unique_ptr blob) override; private: std::unique_ptr _dataTreeStore; }; } } #endif