Package io.quarkus.vertx.core.runtime
Class DevModeExecutorService
java.lang.Object
io.quarkus.runtime.util.ForwardingExecutorService
io.quarkus.vertx.core.runtime.DevModeExecutorService
- All Implemented Interfaces:
Executor,ExecutorService
class DevModeExecutorService
extends io.quarkus.runtime.util.ForwardingExecutorService
This executor is only used in the dev mode as the Vertx worker thread pool.
The underlying executor can be shut down and then replaced with a new re-initialized executor.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ExecutorServicedelegate()(package private) voidreinit()Shutdown the underlying executor and then initialize a new one.Methods inherited from class io.quarkus.runtime.util.ForwardingExecutorService
awaitTermination, execute, invokeAll, invokeAll, invokeAny, invokeAny, isShutdown, isTerminated, shutdown, shutdownNow, submit, submit, submit
-
Constructor Details
-
DevModeExecutorService
DevModeExecutorService(Supplier<ExecutorService> initializer)
-
-
Method Details
-
delegate
- Specified by:
delegatein classio.quarkus.runtime.util.ForwardingExecutorService
-
reinit
void reinit()Shutdown the underlying executor and then initialize a new one.
-