fun vertxOptionsOf(addressResolverOptions: AddressResolverOptions? = null, blockedThreadCheckInterval: Long? = null, blockedThreadCheckIntervalUnit: TimeUnit? = null, clusterManager: ClusterManager? = null, eventBusOptions: EventBusOptions? = null, eventLoopPoolSize: Int? = null, fileSystemOptions: FileSystemOptions? = null, haEnabled: Boolean? = null, haGroup: String? = null, internalBlockingPoolSize: Int? = null, maxEventLoopExecuteTime: Long? = null, maxEventLoopExecuteTimeUnit: TimeUnit? = null, maxWorkerExecuteTime: Long? = null, maxWorkerExecuteTimeUnit: TimeUnit? = null, metricsOptions: MetricsOptions? = null, preferNativeTransport: Boolean? = null, quorumSize: Int? = null, tracingOptions: TracingOptions? = null, warningExceptionTime: Long? = null, warningExceptionTimeUnit: TimeUnit? = null, workerPoolSize: Int? = null): VertxOptions
A function providing a DSL for building io.vertx.core.VertxOptions objects.
Instances of this class are used to configure io.vertx.core.Vertx instances.
addressResolverOptions
- Sets the address resolver configuration to configure resolving DNS servers, cache TTL, etc...
blockedThreadCheckInterval
- Sets the value of blocked thread check period, in io.vertx.core.VertxOptions. The default value of io.vertx.core.VertxOptions is
blockedThreadCheckIntervalUnit
- Set the time unit of blockedThreadCheckInterval.
clusterManager
- 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.
eventBusOptions
- Sets the event bus configuration to configure the host, port, ssl...
eventLoopPoolSize
- Set the number of event loop threads to be used by the Vert.x instance.
fileSystemOptions
- Set the file system options
haEnabled
- Set whether HA will be enabled on the Vert.x instance.
haGroup
- Set the HA group to be used when HA is enabled.
internalBlockingPoolSize
- Set the value of internal blocking pool size
maxEventLoopExecuteTime
- Sets the value of max event loop execute time, in io.vertx.core.VertxOptions. The default value of io.vertx.core.VertxOptionsis
maxEventLoopExecuteTimeUnit
- Set the time unit of maxEventLoopExecuteTime.
maxWorkerExecuteTime
- Sets the value of max worker execute time, in io.vertx.core.VertxOptions. The default value of io.vertx.core.VertxOptions is
maxWorkerExecuteTimeUnit
- Set the time unit of maxWorkerExecuteTime.
metricsOptions
- Set the metrics options
preferNativeTransport
- Set wether to prefer the native transport to the JDK transport.
quorumSize
- Set the quorum size to be used when HA is enabled.
warningExceptionTime
- Set the threshold value above this, the blocked warning contains a stack trace. in io.vertx.core.VertxOptions. The default value of io.vertx.core.VertxOptions is
warningExceptionTimeUnit
- Set the time unit of warningExceptionTime.
workerPoolSize
- Set the maximum number of worker threads to be used by the Vert.x instance.