public interface ExecutorService
| Modifier and Type | Method and Description |
|---|---|
ContextSnapshot |
createSnapshotContext()
Create a snapshot of the current active Contexts.
|
<T> Future<T> |
submit(Callable<T> task)
Submits a value-returning task for execution and returns a
Future representing the pending results of the task.
|
<T> Future<T> submit(Callable<T> task)
task - the task to submitRejectedExecutionException - if the task cannot be
scheduled for executionNullPointerException - if the task is nullContextSnapshot createSnapshotContext()
Copyright © 2023 JBoss by Red Hat. All rights reserved.