T
- type of the value returned by the wrapped task.public class ClientTask<T> extends Object
I think it is ok to permit this executor pool to get very large: it is used only for Core callbacks that run client code and. There should not, therefore, be more threads here than there are Core threads (the Core thread is suspended until this task completes). That means that it shouldn't, actually, get all that big.
Constructor and Description |
---|
ClientTask(Callable<T> task) |
Modifier and Type | Method and Description |
---|---|
static void |
dumpState() |
void |
execute() |
void |
execute(long timeout,
TimeUnit timeUnit) |
Exception |
getFailure() |
T |
getResult() |