26 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::std::string>> mLatestValue;
27 ::ll::TypedStorage<1, 1, bool> mDeleted;
28 ::ll::TypedStorage<4, 4, ::DBHelpers::Category> mCategory;
36 ::ll::TypedStorage<8, 8, uint64> mOperation;
37 ::ll::TypedStorage<8, 8, uint64> mSize;
38 ::ll::TypedStorage<8, 32, ::std::string> mKey;
39 ::ll::TypedStorage<8, 8, char const*> mReason;
43 using BatchContainerType = ::std::map<::std::string, ::LevelStorageWriteBatch::BatchEntry>;
45 using const_iterator = ::std::_Tree_const_iterator<::std::_Tree_val<
46 ::std::_Tree_simple_types<::std::pair<::std::string const, ::LevelStorageWriteBatch::BatchEntry>>>>;
48 using iterator = ::std::_Tree_iterator<::std::_Tree_val<
49 ::std::_Tree_simple_types<::std::pair<::std::string const, ::LevelStorageWriteBatch::BatchEntry>>>>;
54 ::ll::TypedStorage<8, 24, ::std::vector<::std::function<void()>>> mFlushCallbacks;
55 ::ll::TypedStorage<8, 16, ::std::map<::std::string, ::LevelStorageWriteBatch::BatchEntry>> mBatch;
56 ::ll::TypedStorage<8, 80, ::std::mutex> mFlushCallbacksMutex;
64 virtual void putKey(::std::string
const& key, ::std::string_view data, ::DBHelpers::Category category);
66 virtual void putKey(::std::string
const& key, ::std::string
const& data, ::DBHelpers::Category category);
68 virtual void putKey(::std::string
const& key, ::std::string&& data, ::DBHelpers::Category category);
71 putKey(::std::string
const& key, ::std::shared_ptr<::std::string> data, ::DBHelpers::Category category);
73 virtual void deleteKey(::std::string
const& key, ::DBHelpers::Category category);
82 _writeKey(::std::string
const& key, ::std::shared_ptr<::std::string>&& data, ::DBHelpers::Category category);
84 MCAPI
void addFlushCallback(::std::function<
void()> callback);
98 MCAPI
void $putKey(::std::string
const& key, ::std::string_view data, ::DBHelpers::Category category);
100 MCAPI
void $putKey(::std::string
const& key, ::std::string
const& data, ::DBHelpers::Category category);
102 MCAPI
void $putKey(::std::string
const& key, ::std::string&& data, ::DBHelpers::Category category);
104 MCAPI
void $putKey(::std::string
const& key, ::std::shared_ptr<::std::string> data, ::DBHelpers::Category category);
106 MCAPI
void $deleteKey(::std::string
const& key, ::DBHelpers::Category category);
116 MCAPI
static void** $vftable();
Definition LevelStorageWriteBatch.h:32
Definition LevelStorageWriteBatch.h:22