class DeploymentOptions extends AnyRef
Options for configuring a verticle deployment.
- Alphabetic
- By Inheritance
- DeploymentOptions
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new DeploymentOptions(_asJava: core.DeploymentOptions)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def asJava: core.DeploymentOptions
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getConfig: JsonObject
- def getExtraClasspath: Buffer[String]
- def getInstances: Int
- def getIsolatedClasses: Buffer[String]
- def getIsolationGroup: String
- def getMaxWorkerExecuteTime: Long
- def getMaxWorkerExecuteTimeUnit: TimeUnit
- def getWorkerPoolName: String
- def getWorkerPoolSize: Int
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def isHa: Boolean
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isMultiThreaded: Boolean
- def isWorker: Boolean
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
setConfig(value: JsonObject): DeploymentOptions
Set the JSON configuration that will be passed to the verticle(s) when it's deployed
-
def
setExtraClasspath(value: Buffer[String]): DeploymentOptions
Set any extra classpath to be used when deploying the verticle.
Set any extra classpath to be used when deploying the verticle.
Ignored if no isolation group is set.
-
def
setHa(value: Boolean): DeploymentOptions
Set whether the verticle(s) will be deployed as HA.
-
def
setInstances(value: Int): DeploymentOptions
Set the number of instances that should be deployed.
-
def
setIsolatedClasses(value: Buffer[String]): DeploymentOptions
Set the isolated class names.
-
def
setIsolationGroup(value: String): DeploymentOptions
Set the isolation group that will be used when deploying the verticle(s)
-
def
setMaxWorkerExecuteTime(value: Long): DeploymentOptions
Sets the value of max worker execute time, in DeploymentOptions.
Sets the value of max worker execute time, in DeploymentOptions.
The default value of DeploymentOptions is
-
def
setMaxWorkerExecuteTimeUnit(value: TimeUnit): DeploymentOptions
Set the time unit of
maxWorkerExecuteTime
-
def
setMultiThreaded(value: Boolean): DeploymentOptions
Set whether the verticle(s) should be deployed as a multi-threaded worker verticle.
Set whether the verticle(s) should be deployed as a multi-threaded worker verticle.
WARNING: Multi-threaded worker verticles are a deprecated feature.
Most applications will have no need for them. Because of the concurrency in these verticles you have to be very careful to keep the verticle in a consistent state using standard Java techniques for multi-threaded programming.
You can read the documentation that explains how you can replace this feature by the usage of custom worker pools or
executeBlocking
calls. -
def
setWorker(value: Boolean): DeploymentOptions
Set whether the verticle(s) should be deployed as a worker verticle
-
def
setWorkerPoolName(value: String): DeploymentOptions
Set the worker pool name to use for this verticle.
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.
-
def
setWorkerPoolSize(value: Int): DeploymentOptions
Set the maximum number of worker threads to be used by the Vert.x instance.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )