|
Monitoring System 0.1.0
System resource monitoring with pluggable collectors and alerting
|
Configuration for lock-free queue. More...
#include <lockfree_queue.h>

Public Member Functions | |
| bool | validate () const |
| Validate configuration. | |
Public Attributes | |
| size_t | initial_capacity = 1024 |
| Initial capacity of the queue. | |
| size_t | max_capacity = 65536 |
| Maximum capacity (0 = unlimited) | |
| bool | allow_overwrite = false |
| Allow overwriting oldest elements when full. | |
Configuration for lock-free queue.
Definition at line 34 of file lockfree_queue.h.
|
inline |
Validate configuration.
Definition at line 43 of file lockfree_queue.h.
References initial_capacity, and max_capacity.
Referenced by TEST_F(), and TEST_F().

| bool kcenon::monitoring::lockfree_queue_config::allow_overwrite = false |
Allow overwriting oldest elements when full.
Definition at line 37 of file lockfree_queue.h.
| size_t kcenon::monitoring::lockfree_queue_config::initial_capacity = 1024 |
Initial capacity of the queue.
Definition at line 35 of file lockfree_queue.h.
Referenced by TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), and validate().
| size_t kcenon::monitoring::lockfree_queue_config::max_capacity = 65536 |
Maximum capacity (0 = unlimited)
Definition at line 36 of file lockfree_queue.h.
Referenced by TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), and validate().