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)
ExecutorService
submit
in interface ExecutorService
task
- the task to submitpublic ContextSnapshot createSnapshotContext()
ExecutorService
createSnapshotContext
in interface ExecutorService
Copyright © 2017 JBoss by Red Hat. All rights reserved.