|
| CMessageChannelDB (size_t nCacheSize, bool fMemory=false, bool fWipe=false) |
|
| CMessageChannelDB (const CMessageChannelDB &)=delete |
|
CMessageChannelDB & | operator= (const CMessageChannelDB &)=delete |
|
bool | WriteMyMessageChannel (const std::string &channelname) |
|
bool | ReadMyMessageChannel (const std::string &channelname) |
|
bool | EraseMyMessageChannel (const std::string &channelname) |
|
bool | LoadMyMessageChannels (std::set< std::string > &setChannels) |
|
bool | WriteUsedAddress (const std::string &address) |
|
bool | ReadUsedAddress (const std::string &address) |
|
bool | EraseUsedAddress (const std::string &address) |
|
bool | WriteFlag (const std::string &name, bool fValue) |
|
bool | ReadFlag (const std::string &name, bool &fValue) |
|
bool | Flush () |
|
| CDBWrapper (const fs::path &path, size_t nCacheSize, bool fMemory=false, bool fWipe=false, bool obfuscate=false, size_t maxFileSize=2<< 20) |
|
| ~CDBWrapper () |
|
template<typename K , typename V > |
bool | Read (const K &key, V &value) const |
|
template<typename K , typename V > |
bool | Write (const K &key, const V &value, bool fSync=false) |
|
template<typename K > |
bool | Exists (const K &key) const |
|
template<typename K > |
bool | Erase (const K &key, bool fSync=false) |
|
bool | WriteBatch (CDBBatch &batch, bool fSync=false) |
|
bool | Flush () |
|
bool | Sync () |
|
CDBIterator * | NewIterator () |
|
bool | IsEmpty () |
| Return true if the database managed by this class contains no entries. More...
|
|
template<typename K > |
size_t | EstimateSize (const K &key_begin, const K &key_end) const |
|
template<typename K > |
void | CompactRange (const K &key_begin, const K &key_end) const |
| Compact a certain range of keys in the database. More...
|
|
Definition at line 35 of file messagedb.h.