public abstract class Task<T extends TaskResult> extends FutureTask<T>
Task objects that requires all subclasses to
define the its executor type (queue).| Modifier and Type | Field and Description |
|---|---|
String |
info |
TaskResult.ResultType |
resultType |
| Constructor and Description |
|---|
Task(TaskResult.ResultType executorType,
String info,
Callable<T> callable) |
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
cancel, done, get, get, isCancelled, isDone, run, runAndReset, set, setExceptionpublic final TaskResult.ResultType resultType
public final String info
public Task(TaskResult.ResultType executorType, String info, Callable<T> callable)
Copyright © 2014 Quattor. All Rights Reserved.