Class parallel_query::callable_task¶
ClassList > parallel_query > callable_task
#include <px_callable_task.hpp>
Inherits the following classes: cubthread::task
Public Types¶
| Type | Name |
|---|---|
| typedef std::function< void(cubthread::entry &)> | exec_func_type |
| typedef std::function< void(void)> | retire_func_type |
Public Types inherited from cubthread::task¶
See cubthread::task
| Type | Name |
|---|---|
| typedef Context | context_type |
Public Functions¶
| Type | Name |
|---|---|
| callable_task () = delete |
|
| callable_task (worker_manager * worker_manager_p, const F & f, bool delete_on_retire=true) |
|
| callable_task (worker_manager * worker_manager_p, F && f, bool delete_on_retire=true) |
|
| callable_task (worker_manager * worker_manager_p, const FuncExec & fe, const FuncRetire & fr) |
|
| callable_task (worker_manager * worker_manager_p, FuncExec && fe, FuncRetire && fr) |
|
| virtual void | execute (cubthread::entry & context) override |
| virtual void | retire () override |
Public Functions inherited from cubthread::task¶
See cubthread::task
| Type | Name |
|---|---|
| virtual void | execute (context_type &) = 0 |
| virtual void | retire (void) |
| task (void) = default |
|
| virtual | ~task (void) = default |
Public Types Documentation¶
typedef exec_func_type¶
typedef retire_func_type¶
Public Functions Documentation¶
function callable_task [1/5]¶
function callable_task [2/5]¶
template<typename F>
parallel_query::callable_task::callable_task (
worker_manager * worker_manager_p,
const F & f,
bool delete_on_retire=true
)
function callable_task [3/5]¶
template<typename F>
parallel_query::callable_task::callable_task (
worker_manager * worker_manager_p,
F && f,
bool delete_on_retire=true
)
function callable_task [4/5]¶
template<typename FuncExec, typename FuncRetire>
parallel_query::callable_task::callable_task (
worker_manager * worker_manager_p,
const FuncExec & fe,
const FuncRetire & fr
)
function callable_task [5/5]¶
template<typename FuncExec, typename FuncRetire>
parallel_query::callable_task::callable_task (
worker_manager * worker_manager_p,
FuncExec && fe,
FuncRetire && fr
)
function execute¶
Implements cubthread::task::execute
function retire¶
Implements cubthread::task::retire
The documentation for this class was generated from the following file cubrid/src/query/parallel/px_callable_task.hpp