Uses of Interface
org.jboss.elemento.flow.Task
-
-
Uses of Task in org.jboss.elemento.flow
Classes in org.jboss.elemento.flow that implement Task Modifier and Type Class Description classParallelTasks<C extends FlowContext>A task implementation that executes a list of asynchronous tasks in parallel.classRepeatTask<C extends FlowContext>A task implementation that executes a task as long as certain conditions are met.classSequentialTasks<C extends FlowContext>A task implementation that executes a list of asynchronous tasks in order.Methods in org.jboss.elemento.flow with parameters of type Task Modifier and Type Method Description static <C extends FlowContext>
Repeat<C>Flow. repeat(C context, Task<C> task)Method parameters in org.jboss.elemento.flow with type arguments of type Task Modifier and Type Method Description static <C extends FlowContext>
Sequence<C>Flow. parallel(C context, List<Task<C>> tasks)Executes a list of asynchronous tasks in parallel (all at once).static <C extends FlowContext>
Sequence<C>Flow. sequential(C context, List<Task<C>> tasks)Executes a list of asynchronous tasks in sequence (one after the other).Constructors in org.jboss.elemento.flow with parameters of type Task Constructor Description RepeatTask(C context, Task<C> task, Predicate<C> predicate, boolean failFast, long interval, long timeout)RepeatTask(C context, Task<C> task, Predicate<C> predicate, boolean failFast, long interval, long timeout, int iterations)RepeatTask(Task<C> task, Predicate<C> predicate, boolean failFast, long interval, long timeout)RepeatTask(Task<C> task, Predicate<C> predicate, boolean failFast, long interval, long timeout, int iterations)Constructor parameters in org.jboss.elemento.flow with type arguments of type Task Constructor Description ParallelTasks(C context, List<Task<C>> tasks)Creates a new task that executes the given list of asynchronous tasks in parallel using a new context.ParallelTasks(C context, List<Task<C>> tasks, boolean failFast)Creates a new task that executes the given list of asynchronous tasks in parallel using a new context.ParallelTasks(C context, List<Task<C>> tasks, boolean failFast, long timeout)Creates a new task that executes the given list of asynchronous tasks in parallel using a new context.ParallelTasks(List<Task<C>> tasks)Creates a new task that executes the given list of asynchronous tasks in parallel re-using an existing context.ParallelTasks(List<Task<C>> tasks, boolean failFast)Creates a new task that executes the given list of asynchronous tasks in parallel using a new context.ParallelTasks(List<Task<C>> tasks, boolean failFast, long timeout)Creates a new task that executes the given list of asynchronous tasks in parallel using a new context.SequentialTasks(C context, List<Task<C>> tasks)SequentialTasks(C context, List<Task<C>> tasks, boolean failFast)SequentialTasks(C context, List<Task<C>> tasks, boolean failFast, long timeout)SequentialTasks(List<Task<C>> tasks)Creates a new task that executes the given list of asynchronous tasks in order re-using an existing context.SequentialTasks(List<Task<C>> tasks, boolean failFast)Creates a new task that executes the given list of asynchronous tasks in order re-using an existing context.SequentialTasks(List<Task<C>> tasks, boolean failFast, long timeout)
-