fun deploymentOptionsOf(config: JsonObject? = null, ha: Boolean? = null, instances: Int? = null, maxWorkerExecuteTime: Long? = null, maxWorkerExecuteTimeUnit: TimeUnit? = null, worker: Boolean? = null, workerPoolName: String? = null, workerPoolSize: Int? = null): DeploymentOptions
A function providing a DSL for building io.vertx.core.DeploymentOptions objects.
Options for configuring a verticle deployment.
config
- Set the JSON configuration that will be passed to the verticle(s) when it's deployed
ha
- Set whether the verticle(s) will be deployed as HA.
instances
- Set the number of instances that should be deployed.
maxWorkerExecuteTime
- Sets the value of max worker execute time, in io.vertx.core.DeploymentOptions. The default value of io.vertx.core.DeploymentOptions is
maxWorkerExecuteTimeUnit
- Set the time unit of maxWorkerExecuteTime
worker
- Set whether the verticle(s) should be deployed as a worker verticle
workerPoolName
- Set the worker pool name to use for this verticle. When no name is set, the Vert.x worker pool will be used, when a name is set, the verticle will use a named worker pool.
workerPoolSize
- Set the maximum number of worker threads to be used by the Vert.x instance.