#include <Distributed/Schedulers/MongoDB/retryrules.h>
◆ RetryRules() [1/2]
◆ RetryRules() [2/2]
◆ ~RetryRules()
◆ add()
adds a rule to the collection
- Parameters
-
◆ clear()
clears the rules in the collection
◆ count()
- Returns
- returns a count of the rules in the collection
◆ empty()
Returns true if there are no contained RetryRules.
- Returns
- true if no RetryRules are held in this container.
◆ load() [1/2]
void load |
( |
const QJsonArray & |
array | ) |
|
◆ load() [2/2]
void load |
( |
QDataStream & |
stream | ) |
|
◆ operator=()
◆ operator[]() [1/2]
array access operator
- Parameters
-
index | the index of the element to return |
- Returns
- returns the rule at index
◆ operator[]() [2/2]
const RetryRule & operator[] |
( |
int |
index | ) |
const |
array access operator
- Parameters
-
index | the index of the element to return |
- Returns
- returns the rule at index
◆ remove()
removes a rule from the collection
- Parameters
-
index | the index of the rule to remove |
- Exceptions
-
std::out_of_range | exception |
◆ save() [1/2]
void save |
( |
QDataStream & |
stream | ) |
const |
◆ save() [2/2]
void save |
( |
QJsonArray & |
array | ) |
const |