![]() |
Kea 2.2.0
|
Utility class to apply multi threading configurations. More...
#include <cfg_multi_threading.h>
Static Public Member Functions | |
| static void | apply (data::ConstElementPtr value) |
| apply multi threading configuration More... | |
| static void | extract (data::ConstElementPtr value, bool &enabled, uint32_t &thread_count, uint32_t &queue_size) |
| extract multi threading parameters More... | |
Utility class to apply multi threading configurations.
Definition at line 16 of file cfg_multi_threading.h.
|
static |
apply multi threading configuration
| value | The multi-threading configuration |
Definition at line 21 of file cfg_multi_threading.cc.
References extract().
Referenced by isc::dhcp::ControlledDhcpv4Srv::processConfig(), and isc::dhcp::ControlledDhcpv6Srv::processConfig().
Here is the call graph for this function:
|
static |
extract multi threading parameters
| [in] | value | The multi-threading configuration |
| [out] | enabled | The enabled flag |
| [out] | thread_count | The thread count |
| [out] | queue_size | The queue size |
Definition at line 30 of file cfg_multi_threading.cc.
References isc::data::SimpleParser::getBoolean(), and isc::data::SimpleParser::getInteger().
Referenced by apply().
Here is the call graph for this function: