Interface VertxConfiguration
-
@ConfigMapping(prefix="quarkus.vertx") @ConfigRoot(phase=RUN_TIME) public interface VertxConfiguration
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description boolean
caching()
Enables or disables the Vert.x cache.boolean
classpathResolving()
Enables or disabled the Vert.x classpath resource resolver.ClusterConfiguration
cluster()
The cluster configuration.EventBusConfiguration
eventbus()
The event bus configuration.OptionalInt
eventLoopsPoolSize()
The number of event loops.float
growthResistance()
The executor growth resistance.int
internalBlockingPoolSize()
The size of the internal thread pool (used for the file system).Duration
keepAliveTime()
The amount of time a thread will stay alive with no work.Duration
maxEventLoopExecuteTime()
The maximum amount of time the event loop can be blocked.Duration
maxWorkerExecuteTime()
The maximum amount of time the worker thread can be blocked.boolean
preferNativeTransport()
Enable or disable native transportboolean
prefill()
Prefill thread pool when creating a new Executor.OptionalInt
queueSize()
The queue size.AddressResolverConfiguration
resolver()
The address resolver configuration.boolean
useAsyncDNS()
Enables the async DNS resolver.Duration
warningExceptionTime()
The amount of time before a warning is displayed if the event loop is blocked.int
workerPoolSize()
Deprecated.usequarkus.thread-pool.max-threads
instead
-
-
-
Method Detail
-
caching
@WithDefault("true") boolean caching()
Enables or disables the Vert.x cache.
-
classpathResolving
@WithDefault("true") boolean classpathResolving()
Enables or disabled the Vert.x classpath resource resolver.
-
eventLoopsPoolSize
OptionalInt eventLoopsPoolSize()
The number of event loops. By default, it matches the number of CPUs detected on the system.
-
maxEventLoopExecuteTime
@WithDefault("2") Duration maxEventLoopExecuteTime()
The maximum amount of time the event loop can be blocked.
-
warningExceptionTime
@WithDefault("2") Duration warningExceptionTime()
The amount of time before a warning is displayed if the event loop is blocked.
-
workerPoolSize
@WithDefault("${quarkus.thread-pool.max-threads:20}") @Deprecated int workerPoolSize()
Deprecated.usequarkus.thread-pool.max-threads
instead
-
maxWorkerExecuteTime
@WithDefault("60") Duration maxWorkerExecuteTime()
The maximum amount of time the worker thread can be blocked.
-
internalBlockingPoolSize
@WithDefault("20") int internalBlockingPoolSize()
The size of the internal thread pool (used for the file system).
-
queueSize
OptionalInt queueSize()
The queue size. For most applications this should be unbounded
-
growthResistance
@WithDefault("0") float growthResistance()
The executor growth resistance. A resistance factor applied after the core pool is full; values applied here will cause that fraction of submissions to create new threads when no idle thread is available. A value of0.0f
implies that threads beyond the core size should be created as aggressively as threads within it; a value of1.0f
implies that threads beyond the core size should never be created.
-
keepAliveTime
@WithDefault("30") Duration keepAliveTime()
The amount of time a thread will stay alive with no work.
-
prefill
@WithDefault("false") boolean prefill()
Prefill thread pool when creating a new Executor. WhenExecutorServiceFactory.createExecutor(java.util.concurrent.ThreadFactory, java.lang.Integer, java.lang.Integer)
is called, initialise with the number of defined threads at startup
-
useAsyncDNS
@WithDefault("false") boolean useAsyncDNS()
Enables the async DNS resolver.
-
eventbus
EventBusConfiguration eventbus()
The event bus configuration.
-
cluster
ClusterConfiguration cluster()
The cluster configuration.
-
resolver
AddressResolverConfiguration resolver()
The address resolver configuration.
-
preferNativeTransport
@WithDefault("false") boolean preferNativeTransport()
Enable or disable native transport
-
-