public class RejectableFutureTask<V> extends FutureTask<V> implements Rejectable
RejectableThreadPoolExecutor
Constructor and Description |
---|
RejectableFutureTask(Callable<V> callable) |
RejectableFutureTask(Runnable runnable,
V result) |
Modifier and Type | Method and Description |
---|---|
void |
reject()
The task was rejected.
|
cancel, done, get, get, isCancelled, isDone, run, runAndReset, set, setException
public RejectableFutureTask(Callable<V> callable)
public RejectableFutureTask(Runnable runnable, V result)
public void reject()
Rejectable
reject
in interface Rejectable
Apache Camel