|
Monitoring System 0.1.0
System resource monitoring with pluggable collectors and alerting
|
In-memory key-value storage backend (legacy interface) More...
#include <storage_backends.h>


Public Member Functions | |
| kv_memory_storage_backend ()=default | |
| kv_memory_storage_backend (const storage_config &) | |
| bool | store (const std::string &key, const std::string &value) override |
| std::string | retrieve (const std::string &key) override |
| bool | remove (const std::string &key) override |
Public Member Functions inherited from kcenon::monitoring::kv_storage_backend | |
| virtual | ~kv_storage_backend ()=default |
| virtual common::Result< bool > | flush () |
Private Attributes | |
| std::unordered_map< std::string, std::string > | data_ |
In-memory key-value storage backend (legacy interface)
Definition at line 565 of file storage_backends.h.
|
default |
|
inlineexplicit |
Definition at line 569 of file storage_backends.h.
|
inlineoverridevirtual |
Implements kcenon::monitoring::kv_storage_backend.
Definition at line 581 of file storage_backends.h.
References data_.
|
inlineoverridevirtual |
Implements kcenon::monitoring::kv_storage_backend.
Definition at line 576 of file storage_backends.h.
References data_.
|
inlineoverridevirtual |
Implements kcenon::monitoring::kv_storage_backend.
Definition at line 571 of file storage_backends.h.
References data_.
|
private |
Definition at line 586 of file storage_backends.h.
Referenced by remove(), retrieve(), and store().