public interface TaskItem
| Modifier and Type | Method and Description |
|---|---|
void |
beforeGroupInvoke()
The method that gets called before invoking all the tasks in the
TaskGroup
this task belongs to. |
Mono<Void> |
invokeAfterPostRunAsync(boolean isGroupFaulted)
The method that gets called after invocation of "post run" task items depends on
this TaskItem.
|
Mono<Indexable> |
invokeAsync(TaskGroup.InvocationContext context)
The method that gets called to perform the unit of work asynchronously.
|
boolean |
isHot() |
Indexable |
result() |
Indexable result()
void beforeGroupInvoke()
TaskGroup
this task belongs to.boolean isHot()
Mono<Indexable> invokeAsync(TaskGroup.InvocationContext context)
Mono<Void> invokeAfterPostRunAsync(boolean isGroupFaulted)
This method will be invoked only if this TaskItem had "post run" dependents.
isGroupFaulted - true if one or more tasks in the group this TaskItem belongs
to are in faulted state.Flux representing any asynchronous work initiatedVisit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.