TaskItem<T> Interface
Type Parameters
- T
the task result type
public interface TaskItem
Type representing a task in a task group TaskGroup.
Method Summary
Modifier and Type | Method and Description |
---|---|
Observable<T> |
executeAsync()
Executes the task asynchronously. |
boolean | isHot() |
void |
prepare()
method that gets called before start executing all the tasks in the task group TaskGroup in which this task belongs to. |
T | result() |
Method Details
executeAsync
public Observable
Executes the task asynchronously.
Returns:
isHot
public boolean isHot()
Returns:
prepare
public void prepare()
method that gets called before start executing all the tasks in the task group TaskGroup in which this task belongs to.
result
public T result()
Returns: