Interface Sequence<C extends FlowContext>
- Type Parameters:
C- the type of the context shared between tasks
- All Superinterfaces:
Promisable<C>, Subscription<C>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final booleanBy default, the execution of tasks fail fast.static final longBy default, no timeout is used. -
Method Summary
Methods inherited from interface Subscription
subscribe
-
Field Details
-
DEFAULT_FAIL_FAST
-
DEFAULT_TIMEOUT
static final long DEFAULT_TIMEOUTBy default, no timeout is used.- See Also:
-
-
Method Details
-
failFast
-
timeout
The timeout in milliseconds for the sequence. Defaults to no timeout (-1L<C extends FlowContext>).Please note that this only applies to sequential flows. The timeout has no effect for parallel flows. The promise API does not provide a method to cancel running promises.
-