|
Database System 0.1.0
Advanced C++20 Database System with Multi-Backend Support
|
Thread pool configuration for async operations. More...
#include <configuration.h>

Public Attributes | |
| std::string | pool_name { "db_thread_pool" } |
| Name for this thread pool (for logging and monitoring) | |
| std::size_t | thread_count { 0 } |
| Number of worker threads (0 = auto-detect from hardware) | |
| std::size_t | max_queue_size { 1000 } |
| Maximum queued tasks (0 = unlimited) | |
| bool | enable_priority_scheduling { false } |
| Enable priority-based task scheduling. | |
| thread_pool_type | pool_type { thread_pool_type::standard } |
| Thread pool implementation type. | |
Thread pool configuration for async operations.
Configures the thread pool used for asynchronous query execution.
Definition at line 122 of file configuration.h.
| bool database::integrated::db_thread_config::enable_priority_scheduling { false } |
Enable priority-based task scheduling.
Definition at line 134 of file configuration.h.
Referenced by database::integrated::unified_db_config::enable_priority_scheduling(), test_configuration_construction(), and test_default_values().
| std::size_t database::integrated::db_thread_config::max_queue_size { 1000 } |
Maximum queued tasks (0 = unlimited)
Definition at line 131 of file configuration.h.
Referenced by database::integrated::adapters::backends::fallback_thread_backend::execute(), test_configuration_construction(), and test_default_values().
| std::string database::integrated::db_thread_config::pool_name { "db_thread_pool" } |
Name for this thread pool (for logging and monitoring)
Definition at line 125 of file configuration.h.
Referenced by test_default_values().
| thread_pool_type database::integrated::db_thread_config::pool_type { thread_pool_type::standard } |
Thread pool implementation type.
Definition at line 137 of file configuration.h.
Referenced by database::integrated::unified_db_config::enable_priority_scheduling(), test_configuration_construction(), and test_default_values().
| std::size_t database::integrated::db_thread_config::thread_count { 0 } |
Number of worker threads (0 = auto-detect from hardware)
Definition at line 128 of file configuration.h.
Referenced by database::integrated::unified_database_system::builder::builder(), database::integrated::adapters::backends::fallback_thread_backend::initialize(), database::integrated::unified_db_config::set_thread_count(), test_adapter_access(), test_adapter_construction(), test_api_availability_priority(), test_api_availability_stats(), test_api_availability_submit(), test_basic_initialization_and_shutdown(), test_configuration_construction(), test_default_values(), test_destructor_safety(), test_double_initialization(), test_full_integration(), test_health_check(), test_move_semantics(), test_multiple_instances(), test_shutdown_without_init(), and test_thread_pool_functionality().