monitoring_live_poll_params_get
Tech
Returns parameters for polling for monitoring log additions.
The return values define how polling should take place. Initially calls
to monitoring_live_data_get
should happen in
an interval defined by minInterval
. This should go on until the number
of seconds since polling start surpasses minIntervalThreshold
value. Then
the interval will linearly increase and after reaching maxIntervalThreshold
the maxInterval
is used.
Params
N/A
Return
attribute | description |
---|---|
last_rec_id* unsigned int |
The id of the last saved record |
min_interval* unsigned int |
The interval in seconds used for polling from beginning until minIntervalThreshold |
max_interval* unsigned int |
The interval in seconds used for polling from maxIntervalThreshold onward |
min_interval_threshold* unsigned int |
Indicates after how many seconds from the beginning of polling the interval should start increasing |
max_interval_threshold* unsigned int |
Indicates after how many seconds from the beginning of polling the interval should stop increasing |