|
|
#include <RobotAPI/libraries/armem/server/wm/detail/MaxHistorySize.h>
Inheritance diagram for MaxHistorySizeParent< DerivedT >:Public Member Functions | |
| void | setMaxHistorySize (long maxSize) |
| Sets the maximum history size of entities in this container. | |
| void | setTruncateMaxBatchSize (size_t batchSize) |
| Sets the maximum batch size for truncation. | |
| void | setUnlimitedHistoryWarningThreshold (size_t threshold) |
| Sets the warning threshold for unlimited history growth. | |
Public Member Functions inherited from MaxHistorySize | |
| long | getMaxHistorySize () const |
| size_t | getTruncateMaxBatchSize () const |
| size_t | getUnlimitedHistoryWarningThreshold () const |
| void | setMaxHistorySize (long maxSize, const std::string &additionalInfo="") |
| Set the maximum number of snapshots to be contained in an entity. | |
| void | setTruncateMaxBatchSize (size_t batchSize) |
| Set the maximum number of snapshots to remove per truncate() call. | |
| void | setUnlimitedHistoryWarningThreshold (size_t threshold) |
| Set the threshold for warning about unlimited history growth. | |
Additional Inherited Members | |
Protected Attributes inherited from MaxHistorySize | |
| long | _maxHistorySize = 120000 |
| Maximum size of entity histories. | |
| size_t | _truncateMaxBatchSize = 100 |
| Maximum number of snapshots to remove per truncate() call. | |
| size_t | _unlimitedHistoryWarningThreshold = 500000 |
| Threshold for warning about unlimited history growth. | |
Definition at line 66 of file MaxHistorySize.h.
|
inline |
Sets the maximum history size of entities in this container.
This affects all current entities as well as new ones.
Definition at line 76 of file MaxHistorySize.h.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Sets the maximum batch size for truncation.
This affects all current entities as well as new ones.
Definition at line 105 of file MaxHistorySize.h.
Here is the call graph for this function:
|
inline |
Sets the warning threshold for unlimited history growth.
This affects all current entities as well as new ones.
Definition at line 90 of file MaxHistorySize.h.
Here is the call graph for this function: