Uses of Interface
org.jboss.elemento.flow.Task
-
Uses of Task in org.jboss.elemento.flow
Classes in org.jboss.elemento.flow that implement TaskModifier and TypeClassDescriptionclassParallelTasks<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 TaskMethod parameters in org.jboss.elemento.flow with type arguments of type TaskModifier and TypeMethodDescriptionstatic <C extends FlowContext>
Sequence<C>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 TaskModifierConstructorDescriptionRepeatTask(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 TaskModifierConstructorDescriptionParallelTasks(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)