Monitoring System 0.1.0
System resource monitoring with pluggable collectors and alerting
Loading...
Searching...
No Matches
kcenon::monitoring::kv_storage_backend Class Referenceabstract

Basic key-value storage interface - stub. More...

#include <storage_backends.h>

Inheritance diagram for kcenon::monitoring::kv_storage_backend:
Inheritance graph
Collaboration diagram for kcenon::monitoring::kv_storage_backend:
Collaboration graph

Public Member Functions

virtual ~kv_storage_backend ()=default
 
virtual bool store (const std::string &key, const std::string &value)=0
 
virtual std::string retrieve (const std::string &key)=0
 
virtual bool remove (const std::string &key)=0
 
virtual common::Result< bool > flush ()
 

Detailed Description

Basic key-value storage interface - stub.

Definition at line 553 of file storage_backends.h.

Constructor & Destructor Documentation

◆ ~kv_storage_backend()

virtual kcenon::monitoring::kv_storage_backend::~kv_storage_backend ( )
virtualdefault

Member Function Documentation

◆ flush()

virtual common::Result< bool > kcenon::monitoring::kv_storage_backend::flush ( )
inlinevirtual

Definition at line 559 of file storage_backends.h.

559{ return common::ok(true); }

◆ remove()

virtual bool kcenon::monitoring::kv_storage_backend::remove ( const std::string & key)
pure virtual

◆ retrieve()

virtual std::string kcenon::monitoring::kv_storage_backend::retrieve ( const std::string & key)
pure virtual

◆ store()

virtual bool kcenon::monitoring::kv_storage_backend::store ( const std::string & key,
const std::string & value )
pure virtual

The documentation for this class was generated from the following file: