T - public class TechilaFutureTask<T>
extends java.util.concurrent.FutureTask<T>
| Constructor and Description |
|---|
TechilaFutureTask(java.util.concurrent.Callable<T> task) |
| Modifier and Type | Method and Description |
|---|---|
void |
fail(java.lang.Throwable t) |
int |
getIndex()
Get the index of this task, starts from 1.
|
void |
setIndex(int index) |
void |
setResult(T result) |
public TechilaFutureTask(java.util.concurrent.Callable<T> task)
public void setIndex(int index)
public int getIndex()
public void setResult(T result)
public void fail(java.lang.Throwable t)