34 std::unordered_map<std::string, std::string>&
writeBatch() {
return m_batch; }
35 size_t size() {
return m_batch.size(); }
38 std::unordered_map<std::string, std::string> m_batch;
50 void commit(std::unique_ptr<WriteBatchFace> _batch)
override;
58 size_t size()
const {
return m_db.size(); }
61 std::unordered_map<std::string, std::string> m_db;
62 mutable Mutex m_mutex;