joque
task orchestration library
|
Execution visitor interface, used by execution. More...
#include <exec_visitor.hpp>
Public Member Functions | |
virtual void | after_node_enque (const dag_node &) |
Run after node is enqued. More... | |
virtual void | on_detected_cycle (std::span< const dag_node * >) |
Ran in case cycle is detected. More... | |
virtual void | after_job_is_inval (const dag_node &, std::string_view) |
Run after check whenever job was invalidated. More... | |
virtual void | after_dep_inval (const dag_node &, const dag_node &) |
Run after node became invalidated because of other node. More... | |
virtual void | before_run (const exec_record &, const dag_node &) |
Executed once execution starts for the node. More... | |
virtual void | on_run_log (const dag_node &, std::string_view) |
Run after job finished execution. More... | |
virtual void | after_run (const exec_record &, const run_record *, const dag_node &) |
Executed after execution of node. More... | |
virtual void | on_tick (const exec_record &) |
virtual void | after_execution (const exec_record &) |
Run after execution finished. More... | |
virtual | ~exec_visitor ()=default |
Execution visitor interface, used by execution.
Member functions are called on events that occur during execution of tasks.
|
virtualdefault |
|
inlinevirtual |
Run after node is enqued.
Reimplemented in joque::print_exec_visitor.
|
inlinevirtual |
Ran in case cycle is detected.
Reimplemented in joque::print_exec_visitor.
|
inlinevirtual |
Run after check whenever job was invalidated.
Reimplemented in joque::print_exec_visitor.
|
inlinevirtual |
Run after node became invalidated because of other node.
Reimplemented in joque::print_exec_visitor.
|
inlinevirtual |
Executed once execution starts for the node.
Reimplemented in joque::print_exec_visitor.
|
inlinevirtual |
Run after job finished execution.
Reimplemented in joque::print_exec_visitor.
|
inlinevirtual |
Executed after execution of node.
rec | If run produces a run record, it is passed, nullptr on errors |
Reimplemented in joque::print_exec_visitor.
|
inlinevirtual |
Reimplemented in joque::print_exec_visitor.
|
inlinevirtual |
Run after execution finished.
Reimplemented in joque::print_exec_visitor.