|
lintel 0.2.0
|
#include <IHistoryService.h>
Public Member Functions | |
| virtual | ~IHistoryService ()=default |
| virtual void | historizeOf (std::vector< HistoryEntry > entries)=0 |
| virtual const std::string & | getProcessName () const =0 |
| virtual std::vector< HistoryEntry > | allOf () const =0 |
| virtual std::vector< HistoryEntry > | allOf (const std::string &label) const =0 |
| virtual std::vector< HistoryEntry > | allOf (const std::string &processName, const std::string &serviceName) const =0 |
| virtual std::vector< HistoryEntry > | allOfProcess (const std::string &processName) const =0 |
| virtual std::vector< HistoryEntry > | allOfService (const std::string &serviceName) const =0 |
Interface for the history service.
The real implementation (HistoryService) is only created in the process that the configuration explicitly declares as its owner. Every other process receives a NoopHistoryService so that services depending on this interface stay resolvable without ever running a history service.
|
virtualdefault |
|
pure virtual |
Implemented in lintel::HistoryService, and lintel::NoopHistoryService.
|
pure virtual |
| label | filter by label |
Implemented in lintel::NoopHistoryService, and lintel::HistoryService.
|
pure virtual |
| processName | filter by process name |
| serviceName | filter by service name |
Implemented in lintel::NoopHistoryService, and lintel::HistoryService.
|
pure virtual |
| processName | filter by process name |
Implemented in lintel::NoopHistoryService, and lintel::HistoryService.
|
pure virtual |
| serviceName | filter by service name |
Implemented in lintel::NoopHistoryService, and lintel::HistoryService.
Implemented in lintel::HistoryService, and lintel::NoopHistoryService.
|
pure virtual |
Record history entries (may be queued for batch insert).
| entries | entries to record |
Implemented in lintel::HistoryService, and lintel::NoopHistoryService.