fun deploymentOptionsOf(config: JsonObject? = null, extraClasspath: Iterable<String>? = null, ha: Boolean? = null, instances: Int? = null, isolatedClasses: Iterable<String>? = null, isolationGroup: String? = 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
extraClasspath
- Set any extra classpath to be used when deploying the verticle. Ignored if no isolation group is set.
ha
- Set whether the verticle(s) will be deployed as HA.
instances
- Set the number of instances that should be deployed.
isolatedClasses
- Set the isolated class names.
isolationGroup
- Set the isolation group that will be used when deploying the verticle(s)
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.