Sets the address resolver configuration to configure resolving DNS servers, cache TTL, etc...
Sets the value of blocked thread check period, in #setBlockedThreadCheckIntervalUnit blockedThreadCheckIntervalUnit.
The default value of #setBlockedThreadCheckIntervalUnit blockedThreadCheckIntervalUnit is
Set the time unit of blockedThreadCheckInterval
.
Programmatically set the cluster manager to be used when clustering.
Only valid if clustered = true.
Normally Vert.x will look on the classpath for a cluster manager, but if you want to set one programmatically you can use this method.
Configures whether Vert.x sets the Context classloader as the thread context classloader on actions executed on that Context.
When a Context is created the current thread classloader is captured and associated with this classloader.
Likewise when a Verticle is created, the Verticle's Context classloader is set to the current thread classloader unless this classloader is overriden by DeploymentOptions.
This setting overrides the (legacy) system property vertx.disableTCCL
and provides control at the
Vertx instance level.
Sets the event bus configuration to configure the host, port, ssl...
Set the number of event loop threads to be used by the Vert.x instance.
Set the file system options
Set the HA group to be used when HA is enabled.
Set the value of internal blocking pool size
Sets the value of max event loop execute time, in #setMaxEventLoopExecuteTimeUnit maxEventLoopExecuteTimeUnit.
The default value of #setMaxEventLoopExecuteTimeUnit maxEventLoopExecuteTimeUnitis
Set the time unit of maxEventLoopExecuteTime
.
Sets the value of max worker execute time, in #setMaxWorkerExecuteTimeUnit maxWorkerExecuteTimeUnit.
The default value of #setMaxWorkerExecuteTimeUnit maxWorkerExecuteTimeUnit is
Set the time unit of maxWorkerExecuteTime
.
Set the metrics options
Set wether to prefer the native transport to the JDK transport.
Set the quorum size to be used when HA is enabled.
Set the tracing options
Mark the vertx thread as daemon thread or user thread.
For keeping the old behavior, the default value isfalse
instead of null
.
Set the threshold value above this, the blocked warning contains a stack trace. in #setWarningExceptionTimeUnit warningExceptionTimeUnit. The default value of #setWarningExceptionTimeUnit warningExceptionTimeUnit is
Set the time unit of warningExceptionTime
.
Set the maximum number of worker threads to be used by the Vert.x instance.
Set whether HA will be enabled on the Vert.x instance.
Sets the address resolver configuration to configure resolving DNS servers, cache TTL, etc...
Sets the value of blocked thread check period, in #setBlockedThreadCheckIntervalUnit blockedThreadCheckIntervalUnit.
The default value of #setBlockedThreadCheckIntervalUnit blockedThreadCheckIntervalUnit is
Set the time unit of blockedThreadCheckInterval
.
Programmatically set the cluster manager to be used when clustering.
Only valid if clustered = true.
Normally Vert.x will look on the classpath for a cluster manager, but if you want to set one programmatically you can use this method.
Configures whether Vert.x sets the Context classloader as the thread context classloader on actions executed on that Context.
When a Context is created the current thread classloader is captured and associated with this classloader.
Likewise when a Verticle is created, the Verticle's Context classloader is set to the current thread classloader unless this classloader is overriden by DeploymentOptions.
This setting overrides the (legacy) system property vertx.disableTCCL
and provides control at the
Vertx instance level.
Sets the event bus configuration to configure the host, port, ssl...
Set the number of event loop threads to be used by the Vert.x instance.
Set the file system options
Set whether HA will be enabled on the Vert.x instance.
Set the HA group to be used when HA is enabled.
Set the value of internal blocking pool size
Sets the value of max event loop execute time, in #setMaxEventLoopExecuteTimeUnit maxEventLoopExecuteTimeUnit.
The default value of #setMaxEventLoopExecuteTimeUnit maxEventLoopExecuteTimeUnitis
Set the time unit of maxEventLoopExecuteTime
.
Sets the value of max worker execute time, in #setMaxWorkerExecuteTimeUnit maxWorkerExecuteTimeUnit.
The default value of #setMaxWorkerExecuteTimeUnit maxWorkerExecuteTimeUnit is
Set the time unit of maxWorkerExecuteTime
.
Set the metrics options
Set wether to prefer the native transport to the JDK transport.
Set the quorum size to be used when HA is enabled.
Set the tracing options
Mark the vertx thread as daemon thread or user thread.
For keeping the old behavior, the default value isfalse
instead of null
.
Set the threshold value above this, the blocked warning contains a stack trace. in #setWarningExceptionTimeUnit warningExceptionTimeUnit. The default value of #setWarningExceptionTimeUnit warningExceptionTimeUnit is
Set the time unit of warningExceptionTime
.
Set the maximum number of worker threads to be used by the Vert.x instance.
Generated using TypeDoc
Instances of this class are used to configure Vertx instances.