Synchronous thread backend (no threading)
std::size_t queue_size() const override
Get current queue size.
std::size_t worker_count() const override
Get number of worker threads.
bool wait_for_completion_timeout(std::chrono::milliseconds) override
Wait for completion with timeout.
bool is_idle() const override
Check if thread pool is idle.
~null_thread_backend() override=default
common::VoidResult initialize() override
Initialize the thread backend.
common::VoidResult execute(std::function< void()> task) override
Execute a task (fire-and-forget)
bool is_initialized() const override
Check if backend is initialized.
void wait_for_completion() override
Wait for all pending tasks to complete.
null_thread_backend(const db_thread_config &)
common::VoidResult shutdown() override
Shutdown the thread backend gracefully.
Abstract base class for thread pool backends.
Thread pool configuration for async operations.
Abstract interface for thread pool backends.