@ConfigRoot(phase=RUN_TIME) public class VertxConfiguration extends Object
| Modifier and Type | Field and 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.
|
int |
internalBlockingPoolSize
The size of the internal thread pool (used for the file system).
|
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 transport
|
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
The size of the worker thread pool.
|
| Constructor and Description |
|---|
VertxConfiguration() |
@ConfigItem(defaultValue="true") public boolean caching
@ConfigItem(defaultValue="true") public boolean classpathResolving
@ConfigItem public OptionalInt eventLoopsPoolSize
@ConfigItem(defaultValue="2") public Duration maxEventLoopExecuteTime
@ConfigItem(defaultValue="2") public Duration warningExceptionTime
@ConfigItem(defaultValue="20") public int workerPoolSize
@ConfigItem(defaultValue="60") public Duration maxWorkerExecuteTime
@ConfigItem(defaultValue="20") public int internalBlockingPoolSize
@ConfigItem public boolean useAsyncDNS
@ConfigItem public EventBusConfiguration eventbus
@ConfigItem public ClusterConfiguration cluster
@ConfigItem public boolean preferNativeTransport
Copyright © 2020 JBoss by Red Hat. All rights reserved.