public class ThreadedExecutorService extends Object implements ExecutorService
| Modifier and Type | Class and Description |
|---|---|
static class |
ThreadedExecutorService.ContextualStateSnapshot |
| Constructor and Description |
|---|
ThreadedExecutorService(ManagerImpl manager) |
| 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.
|
public ThreadedExecutorService(ManagerImpl manager)
public <T> Future<T> submit(Callable<T> task)
ExecutorServicesubmit in interface ExecutorServicetask - the task to submitpublic ContextSnapshot createSnapshotContext()
ExecutorServicecreateSnapshotContext in interface ExecutorServiceCopyright © 2023 JBoss by Red Hat. All rights reserved.