Files
deb-python-taskflow/doc/source/conductors.rst
Joshua Harlow e34c0c9f06 Add docs related to the new conductor feature
Change-Id: I68722a5b6bea0e404427ec7b121e7c6f90e42145
2014-05-29 16:37:27 -07:00

1.2 KiB

Conductors

Overview

Conductors in TaskFlow provide a mechanism that unifies the various TaskFlow concepts under a single easy to use (as plug-and-play as we can make it) construct.

They are responsible for the following:

  • Interacting with jobboards <jobs> (examining and claiming jobs <jobs>).
  • Creating engines <engines> from the claimed jobs (using factories <resumption factories> to reconstruct the contained tasks and flows to be executed).
  • Dispatching the engine using the provided persistence <persistence> layer and engine configuration.
  • Completing or abandoning the claimed job (depending on dispatching and execution outcome).
  • Rinse and repeat.

Note

They are inspired by and have similar responsiblities as railroad conductors.

Interfaces

taskflow.conductors.base

taskflow.conductors.single_threaded

Hierarchy

taskflow.conductors.base taskflow.conductors.single_threaded