Instances of this class are used to configure Vertx instances.
Anything
VertxOptions
BaseDataObject
Basic
Identifiable
Object
Anything
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:
|
Attributes | |
addressResolverOptions | shared AddressResolverOptions? addressResolverOptions Sets the address resolver configuration to configure resolving DNS servers, cache TTL, etc… |
blockedThreadCheckInterval | shared Integer? blockedThreadCheckInterval Sets the value of blocked thread check period, in ms. |
clusterHost | shared String? clusterHost Set the hostname to be used for clustering. |
clusterPingInterval | shared Integer? clusterPingInterval Set the value of cluster ping interval, in ms. |
clusterPingReplyInterval | shared Integer? clusterPingReplyInterval Set the value of cluster ping reply interval, in ms. |
clusterPort | shared Integer? clusterPort Set the port to be used for clustering. |
clusterPublicHost | shared 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. |
clusterPublicPort | shared Integer? clusterPublicPort See setClusterPublicHost for an explanation. |
clustered | shared Boolean? clustered Set whether or not the Vert.x instance will be clustered. |
eventBusOptions | shared EventBusOptions? eventBusOptions Sets the event bus configuration to configure the host, port, ssl… |
eventLoopPoolSize | shared Integer? eventLoopPoolSize Set the number of event loop threads to be used by the Vert.x instance. |
fileResolverCachingEnabled | shared Boolean? fileResolverCachingEnabled Set wether the Vert.x file resolver uses caching for classpath resources. |
haEnabled | shared Boolean? haEnabled Set whether HA will be enabled on the Vert.x instance. |
haGroup | shared String? haGroup Set the HA group to be used when HA is enabled. |
internalBlockingPoolSize | shared Integer? internalBlockingPoolSize Set the value of internal blocking pool size |
maxEventLoopExecuteTime | shared Integer? maxEventLoopExecuteTime Sets the value of max event loop execute time, in ns. |
maxWorkerExecuteTime | shared Integer? maxWorkerExecuteTime Sets the value of max worker execute time, in ns. |
metricsOptions | shared MetricsOptions? metricsOptions Set the metrics options |
preferNativeTransport | shared Boolean? preferNativeTransport Set wether to prefer the native transport to the JDK transport. |
quorumSize | shared Integer? quorumSize Set the quorum size to be used when HA is enabled. |
warningExceptionTime | shared Integer? warningExceptionTime Set the threshold value above this, the blocked warning contains a stack trace. |
workerPoolSize | shared 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 |