Package io.quarkus.runtime
Class ExecutorRecorder
- java.lang.Object
-
- io.quarkus.runtime.ExecutorRecorder
-
public class ExecutorRecorder extends Object
-
-
Field Summary
Fields Modifier and Type Field 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 Summary
Constructors Constructor Description ExecutorRecorder()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ExecutorService
createDevModeExecutorForFailedStart(ThreadPoolConfig config)
static Executor
getCurrent()
ExecutorService
setupRunTime(ShutdownContext shutdownContext, ThreadPoolConfig threadPoolConfig, LaunchMode launchMode)
(package private) static void
shutdownDevMode()
-
-
-
Field Detail
-
devModeExecutor
static volatile 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. This will likely change
-
-
Method Detail
-
setupRunTime
public ExecutorService setupRunTime(ShutdownContext shutdownContext, ThreadPoolConfig threadPoolConfig, LaunchMode launchMode)
-
createDevModeExecutorForFailedStart
public static ExecutorService createDevModeExecutorForFailedStart(ThreadPoolConfig config)
-
shutdownDevMode
static void shutdownDevMode()
-
getCurrent
public static Executor getCurrent()
-
-