public class ExecutionServiceImpl extends Object implements ExecutionService
| Constructor and Description |
|---|
ExecutionServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
<T> Execution<T> |
execute(Callable<T> task) |
<T> Execution<T> |
schedule(Callable<T> task,
long delay,
TimeUnit unit) |
public <T> Execution<T> execute(Callable<T> task) throws ExecutionException
execute in interface ExecutionServiceExecutionExceptionpublic <T> Execution<T> schedule(Callable<T> task, long delay, TimeUnit unit) throws TimeoutExecutionException, ExecutionException
schedule in interface ExecutionServiceTimeoutExecutionExceptionExecutionExceptionCopyright © 2017 JBoss by Red Hat. All rights reserved.