DataStorm
0.1
Data Distribution Service
|
The configuration base class holds configuration options common to readers and writers. More...
#include <DataStorm/DataStorm.h>
Public Member Functions | |
Config (Ice::optional< int > sampleCount=Ice::nullopt, Ice::optional< int > sampleLifetime=Ice::nullopt, Ice::optional< ClearHistoryPolicy > clearHistory=Ice::nullopt) noexcept | |
Construct a Config object. More... | |
Public Attributes | |
Ice::optional< int > | sampleCount |
The sampleCount configuration specifies how many samples are kept by the reader or writer in its sample history. More... | |
Ice::optional< int > | sampleLifetime |
The sampleLifetime configuration specifies samples to keep in the writer or reader history based on their age. More... | |
Ice::optional< ClearHistoryPolicy > | clearHistory |
The clear history policy specifies when samples are removed from the sample history. More... | |
The configuration base class holds configuration options common to readers and writers.
|
inlinenoexcept |
Ice::optional<ClearHistoryPolicy> DataStorm::Config::clearHistory |
The clear history policy specifies when samples are removed from the sample history.
By default, samples are removed when a new sample is is received which effectively disables the sample history.
Ice::optional<int> DataStorm::Config::sampleCount |
The sampleCount configuration specifies how many samples are kept by the reader or writer in its sample history.
By default, the sample count is unlimited.
Ice::optional<int> DataStorm::Config::sampleLifetime |
The sampleLifetime configuration specifies samples to keep in the writer or reader history based on their age.
Samples with a timestamp older than the sampleLifetime value (in milliseconds) are discarded from the history. By default, the samples are kept for an unlimited amount of time.