An interface for any statistic store.
More...
#include <AbstractStatisticStore.hpp>
|
| virtual std::vector< StatisticPtr > | getStatistics (const StatisticHash &statisticHash, const Windowing::TimeMeasure &startTs, const Windowing::TimeMeasure &endTs)=0 |
| | Gets all statistics belonging to the statisticHash in the period of [startTs, endTs]. More...
|
| |
| virtual std::vector< HashStatisticPair > | getAllStatistics ()=0 |
| | Returns all statistics currently in this store. More...
|
| |
| virtual bool | insertStatistic (const StatisticHash &statisticHash, StatisticPtr statistic)=0 |
| | Inserts statistic with the statisticHash into a StatisticStore. More...
|
| |
| virtual bool | deleteStatistics (const StatisticHash &statisticHash, const Windowing::TimeMeasure &startTs, const Windowing::TimeMeasure &endTs)=0 |
| | Deletes all statistics belonging to the statisticHash in the period of [startTs, endTs]. More...
|
| |
| virtual | ~AbstractStatisticStore ()=default |
| | Virtual destructor. More...
|
| |
An interface for any statistic store.
◆ ~AbstractStatisticStore()
| virtual NES::Statistic::AbstractStatisticStore::~AbstractStatisticStore |
( |
| ) |
|
|
virtualdefault |
◆ deleteStatistics()
| virtual bool NES::Statistic::AbstractStatisticStore::deleteStatistics |
( |
const StatisticHash & |
statisticHash, |
|
|
const Windowing::TimeMeasure & |
startTs, |
|
|
const Windowing::TimeMeasure & |
endTs |
|
) |
| |
|
pure virtual |
Deletes all statistics belonging to the statisticHash in the period of [startTs, endTs].
- Parameters
-
| statisticHash | |
| startTs | |
| endTs | |
- Returns
- Success
Implemented in NES::Statistic::DefaultStatisticStore.
◆ getAllStatistics()
| virtual std::vector<HashStatisticPair> NES::Statistic::AbstractStatisticStore::getAllStatistics |
( |
| ) |
|
|
pure virtual |
◆ getStatistics()
| virtual std::vector<StatisticPtr> NES::Statistic::AbstractStatisticStore::getStatistics |
( |
const StatisticHash & |
statisticHash, |
|
|
const Windowing::TimeMeasure & |
startTs, |
|
|
const Windowing::TimeMeasure & |
endTs |
|
) |
| |
|
pure virtual |
Gets all statistics belonging to the statisticHash in the period of [startTs, endTs].
- Parameters
-
| statisticHash | |
| startTs | |
| endTs | |
- Returns
- Vector of StatisticPtr
Implemented in NES::Statistic::DefaultStatisticStore.
◆ insertStatistic()
| virtual bool NES::Statistic::AbstractStatisticStore::insertStatistic |
( |
const StatisticHash & |
statisticHash, |
|
|
StatisticPtr |
statistic |
|
) |
| |
|
pure virtual |
The documentation for this class was generated from the following file: