#pragma once #include namespace DB { /* * ThreadPool used for the Backup IO. */ class BackupsIOThreadPool { static std::unique_ptr instance; public: static void initialize(size_t max_threads, size_t max_free_threads, size_t queue_size); static ThreadPool & get(); }; }