TODOs
This commit is contained in:
parent
2c295ace62
commit
32d28665a0
@ -17,6 +17,7 @@ public:
|
||||
virtual ~BlobStore() {}
|
||||
|
||||
virtual BlobWithKey create(size_t size) = 0;
|
||||
//TODO Use boost::optional (if key doesn't exist)
|
||||
// Return nullptr if blob with this key doesn't exists
|
||||
virtual std::unique_ptr<Blob> load(const std::string &key) = 0;
|
||||
//TODO Needed for performance? Or is deleting loaded blobs enough?
|
||||
|
@ -12,6 +12,7 @@ namespace blobstore {
|
||||
// work with the BlobStore interface instead.
|
||||
class BlobStoreWithRandomKeys: public BlobStore {
|
||||
public:
|
||||
//TODO Use boost::optional (if key already exists)
|
||||
// Return nullptr if key already exists
|
||||
virtual std::unique_ptr<BlobWithKey> create(const std::string &key, size_t size) = 0;
|
||||
|
||||
|
@ -4,6 +4,7 @@
|
||||
|
||||
#include <cstdio>
|
||||
|
||||
//TODO Rename to RandomData or something more speaking about what this class does.
|
||||
class VirtualTestFile {
|
||||
public:
|
||||
VirtualTestFile(size_t size, long long int IV = 1);
|
||||
|
Loading…
x
Reference in New Issue
Block a user