Instances of this class are used to configure Vertx instances.

no subtypes hierarchy

Initializer
VertxOptions(AddressResolverOptions? addressResolverOptions = null, Integer? blockedThreadCheckInterval = null, String? clusterHost = null, Integer? clusterPingInterval = null, Integer? clusterPingReplyInterval = null, Integer? clusterPort = null, String? clusterPublicHost = null, Integer? clusterPublicPort = null, Boolean? clustered = null, EventBusOptions? eventBusOptions = null, Integer? eventLoopPoolSize = null, Boolean? fileResolverCachingEnabled = null, Boolean? haEnabled = null, String? haGroup = null, Integer? internalBlockingPoolSize = null, Integer? maxEventLoopExecuteTime = null, Integer? maxWorkerExecuteTime = null, MetricsOptions? metricsOptions = null, Boolean? preferNativeTransport = null, Integer? quorumSize = null, Integer? warningExceptionTime = null, Integer? workerPoolSize = null)
Parameters:
  • addressResolverOptions = null

    Sets the address resolver configuration to configure resolving DNS servers, cache TTL, etc…

  • blockedThreadCheckInterval = null

    Sets the value of blocked thread check period, in ms.

  • clusterHost = null

    Set the hostname to be used for clustering.

  • clusterPingInterval = null

    Set the value of cluster ping interval, in ms.

  • clusterPingReplyInterval = null

    Set the value of cluster ping reply interval, in ms.

  • clusterPort = null

    Set the port to be used for clustering.

  • clusterPublicHost = null

    Set the public facing hostname to be used for clustering. Sometimes, e.g. when running on certain clouds, the local address the server listens on for clustering is not the same address that other nodes connect to it at, as the OS / cloud infrastructure does some kind of proxying. If this is the case you can specify a public hostname which is different from the hostname the server listens at. The default value is null which means use the same as the cluster hostname.

  • clusterPublicPort = null

    See setClusterPublicHost for an explanation.

  • clustered = null

    Set whether or not the Vert.x instance will be clustered.

  • eventBusOptions = null

    Sets the event bus configuration to configure the host, port, ssl…

  • eventLoopPoolSize = null

    Set the number of event loop threads to be used by the Vert.x instance.

  • fileResolverCachingEnabled = null

    Set wether the Vert.x file resolver uses caching for classpath resources.

  • haEnabled = null

    Set whether HA will be enabled on the Vert.x instance.

  • haGroup = null

    Set the HA group to be used when HA is enabled.

  • internalBlockingPoolSize = null

    Set the value of internal blocking pool size

  • maxEventLoopExecuteTime = null

    Sets the value of max event loop execute time, in ns.

  • maxWorkerExecuteTime = null

    Sets the value of max worker execute time, in ns.

  • metricsOptions = null

    Set the metrics options

  • preferNativeTransport = null

    Set wether to prefer the native transport to the JDK transport.

  • quorumSize = null

    Set the quorum size to be used when HA is enabled.

  • warningExceptionTime = null

    Set the threshold value above this, the blocked warning contains a stack trace.

  • workerPoolSize = null

    Set the maximum number of worker threads to be used by the Vert.x instance.

Attributes
addressResolverOptionsshared AddressResolverOptions? addressResolverOptions

Sets the address resolver configuration to configure resolving DNS servers, cache TTL, etc…

blockedThreadCheckIntervalshared Integer? blockedThreadCheckInterval

Sets the value of blocked thread check period, in ms.

clusterHostshared String? clusterHost

Set the hostname to be used for clustering.

clusterPingIntervalshared Integer? clusterPingInterval

Set the value of cluster ping interval, in ms.

clusterPingReplyIntervalshared Integer? clusterPingReplyInterval

Set the value of cluster ping reply interval, in ms.

clusterPortshared Integer? clusterPort

Set the port to be used for clustering.

clusterPublicHostshared String? clusterPublicHost

Set the public facing hostname to be used for clustering. Sometimes, e.g. when running on certain clouds, the local address the server listens on for clustering is not the same address that other nodes connect to it at, as the OS / cloud infrastructure does some kind of proxying. If this is the case you can specify a public hostname which is different from the hostname the server listens at. The default value is null which means use the same as the cluster hostname.

clusterPublicPortshared Integer? clusterPublicPort

See setClusterPublicHost for an explanation.

clusteredshared Boolean? clustered

Set whether or not the Vert.x instance will be clustered.

eventBusOptionsshared EventBusOptions? eventBusOptions

Sets the event bus configuration to configure the host, port, ssl…

eventLoopPoolSizeshared Integer? eventLoopPoolSize

Set the number of event loop threads to be used by the Vert.x instance.

fileResolverCachingEnabledshared Boolean? fileResolverCachingEnabled

Set wether the Vert.x file resolver uses caching for classpath resources.

haEnabledshared Boolean? haEnabled

Set whether HA will be enabled on the Vert.x instance.

haGroupshared String? haGroup

Set the HA group to be used when HA is enabled.

internalBlockingPoolSizeshared Integer? internalBlockingPoolSize

Set the value of internal blocking pool size

maxEventLoopExecuteTimeshared Integer? maxEventLoopExecuteTime

Sets the value of max event loop execute time, in ns.

maxWorkerExecuteTimeshared Integer? maxWorkerExecuteTime

Sets the value of max worker execute time, in ns.

metricsOptionsshared MetricsOptions? metricsOptions

Set the metrics options

preferNativeTransportshared Boolean? preferNativeTransport

Set wether to prefer the native transport to the JDK transport.

quorumSizeshared Integer? quorumSize

Set the quorum size to be used when HA is enabled.

warningExceptionTimeshared Integer? warningExceptionTime

Set the threshold value above this, the blocked warning contains a stack trace.

workerPoolSizeshared Integer? workerPoolSize

Set the maximum number of worker threads to be used by the Vert.x instance.

Inherited Attributes
Attributes inherited from: Object
hash, string
Methods
toJsonshared actual default JsonObject toJson()
Refines BaseDataObject.toJson
Inherited Methods
Methods inherited from: Object
equals
Methods inherited from: BaseDataObject
toJson