finds execution pools that have slots to run actions.
finds execution pools that have slots to run actions.
None if none of the pools are available for scheduling and Some(Set[AVAILABLE POOL NAME]) - all pools that are available for scheduling
Removes actions that are already running in the specified set pools.
Removes actions that are already running in the specified set pools.
pool names to which the from actions belong to
list of actions from poolNames that DataFlow knows have not been marked as executed and can be scheduled
list of actions that are not currently running
Checks if there are actions running at all, regardless of the execution pool.
Checks if there are actions running at all, regardless of the execution pool.
true if at least one action is running in any of the pools
Submits action into the specified execution pool.
Submits action into the specified execution pool.
pool into which to schedule the action
action to schedule
action labels that have data
object that allows access to the context of the flow and application
object that is used to signal start and end of the action execution
Executors must call it before exiting the execution of the flow to release resources.
Locks and waits for at least one action to finish running, can return more than one action if they have finished and their results are available.
Locks and waits for at least one action to finish running, can return more than one action if they have finished and their results are available.
object that allows access to the context of the flow and application
object that is used to signal start and end of the action execution
Defines functions that are specific to scheduling tasks, evaluating which execution pools are available and signaling back which actions have finished their execution.
Created by Alexei Perelighin on 2018/07/06