public class ExecutorRecorder extends Object
Modifier and Type | Field and Description |
---|---|
(package private) static CleanableExecutor |
devModeExecutor
In dev mode for now we need the executor to last for the life of the app, as it is used by Undertow.
|
Constructor and Description |
---|
ExecutorRecorder() |
Modifier and Type | Method and Description |
---|---|
static ExecutorService |
createDevModeExecutorForFailedStart(ThreadPoolConfig config) |
static Executor |
getCurrent() |
ExecutorService |
setupRunTime(ShutdownContext shutdownContext,
ThreadPoolConfig threadPoolConfig,
LaunchMode launchMode) |
static volatile CleanableExecutor devModeExecutor
public ExecutorService setupRunTime(ShutdownContext shutdownContext, ThreadPoolConfig threadPoolConfig, LaunchMode launchMode)
public static ExecutorService createDevModeExecutorForFailedStart(ThreadPoolConfig config)
public static Executor getCurrent()
Copyright © 2019 JBoss by Red Hat. All rights reserved.