|
Monitoring System 0.1.0
System resource monitoring with pluggable collectors and alerting
|
Base interface for snapshot storage backends. More...
#include <storage_backends.h>


Public Member Functions | |
| virtual | ~snapshot_storage_backend ()=default |
| virtual common::Result< bool > | store (const metrics_snapshot &snapshot)=0 |
| virtual common::Result< metrics_snapshot > | retrieve (size_t index)=0 |
| virtual common::Result< std::vector< metrics_snapshot > > | retrieve_range (size_t start, size_t count)=0 |
| virtual size_t | size () const =0 |
| virtual size_t | capacity () const =0 |
| virtual common::Result< bool > | flush ()=0 |
| virtual common::Result< bool > | clear ()=0 |
| virtual std::unordered_map< std::string, size_t > | get_stats () const =0 |
Base interface for snapshot storage backends.
Definition at line 106 of file storage_backends.h.
|
virtualdefault |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |