scheduled action. If None, than nothing is scheduled
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
Takes a value of type A and a msg to log, returning a and logging the message at the desired level
Takes a value of type A and a msg to log, returning a and logging the message at the desired level
a
Takes a value of type A and a function message from A to String, logs the value of invoking message(a) at the level described by the level parameter
Takes a value of type A and a function message from A to String, logs the value of invoking message(a) at the level described by the level parameter
a
logAndReturn(1, (num: Int) => s"number: $num", Info) // In the log we would see a log corresponding to "number 1"
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.
Executors must call it before exiting the execution of the flow to release resources.
scheduled action.
scheduled action. If None, than nothing is scheduled
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
Executes only one action at a time.
Created by Alexei Perelighin on 2018/07/06