Package io.quarkus.vertx.core.runtime
Class VertxCoreRecorder
- java.lang.Object
-
- io.quarkus.vertx.core.runtime.VertxCoreRecorder
-
public class VertxCoreRecorder extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static classVertxCoreRecorder.VertxOptionsCustomizer(package private) static classVertxCoreRecorder.VertxSupplier
-
Field Summary
Fields Modifier and Type Field Description (package private) static intblockingThreadPoolSize(package private) static VertxCoreRecorder.VertxSuppliervertxstatic StringVERTX_CACHE
-
Constructor Summary
Constructors Constructor Description VertxCoreRecorder()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Supplier<io.netty.channel.EventLoopGroup>bossSupplier()Supplier<Integer>calculateEventLoopThreads(VertxConfiguration conf)Supplier<io.vertx.core.Vertx>configureVertx(VertxConfiguration config, LaunchMode launchMode, ShutdownContext shutdown, List<Consumer<io.vertx.core.VertxOptions>> customizers, ExecutorService executorProxy)ThreadFactorycreateThreadFactory()(package private) voiddestroy()IOThreadDetectordetector()org.jboss.threads.ContextHandler<Object>executionContextHandler()static Supplier<io.vertx.core.Vertx>getVertx()static io.vertx.core.Vertxinitialize(VertxConfiguration conf, VertxCoreRecorder.VertxOptionsCustomizer customizer, ShutdownContext shutdown, LaunchMode launchMode)Supplier<io.netty.channel.EventLoopGroup>mainSupplier()static Supplier<io.vertx.core.Vertx>recoverFailedStart(VertxConfiguration config)static voidsetWebDeploymentId(String webDeploymentId)(package private) static voidshutdownDevMode()
-
-
-
Field Detail
-
VERTX_CACHE
public static final String VERTX_CACHE
- See Also:
- Constant Field Values
-
vertx
static volatile VertxCoreRecorder.VertxSupplier vertx
-
blockingThreadPoolSize
static volatile int blockingThreadPoolSize
-
-
Method Detail
-
configureVertx
public Supplier<io.vertx.core.Vertx> configureVertx(VertxConfiguration config, LaunchMode launchMode, ShutdownContext shutdown, List<Consumer<io.vertx.core.VertxOptions>> customizers, ExecutorService executorProxy)
-
detector
public IOThreadDetector detector()
-
shutdownDevMode
static void shutdownDevMode()
-
getVertx
public static Supplier<io.vertx.core.Vertx> getVertx()
-
initialize
public static io.vertx.core.Vertx initialize(VertxConfiguration conf, VertxCoreRecorder.VertxOptionsCustomizer customizer, ShutdownContext shutdown, LaunchMode launchMode)
-
destroy
void destroy()
-
bossSupplier
public Supplier<io.netty.channel.EventLoopGroup> bossSupplier()
-
mainSupplier
public Supplier<io.netty.channel.EventLoopGroup> mainSupplier()
-
calculateEventLoopThreads
public Supplier<Integer> calculateEventLoopThreads(VertxConfiguration conf)
-
createThreadFactory
public ThreadFactory createThreadFactory()
-
executionContextHandler
public org.jboss.threads.ContextHandler<Object> executionContextHandler()
-
recoverFailedStart
public static Supplier<io.vertx.core.Vertx> recoverFailedStart(VertxConfiguration config)
-
setWebDeploymentId
public static void setWebDeploymentId(String webDeploymentId)
-
-