class VertxOptions extends AnyRef
Instances of this class are used to configure io.vertx.scala.core.Vertx instances.
- Alphabetic
- By Inheritance
- VertxOptions
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new VertxOptions(_asJava: core.VertxOptions)
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.VertxOptions
-
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] )
- def getAddressResolverOptions: AddressResolverOptions
- def getBlockedThreadCheckInterval: Long
- def getBlockedThreadCheckIntervalUnit: TimeUnit
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getClusterHost: String
- def getClusterPingInterval: Long
- def getClusterPingReplyInterval: Long
- def getClusterPort: Int
- def getClusterPublicHost: String
- def getClusterPublicPort: Int
- def getEventBusOptions: EventBusOptions
- def getEventLoopPoolSize: Int
- def getFileSystemOptions: FileSystemOptions
- def getHAGroup: String
- def getInternalBlockingPoolSize: Int
- def getMaxEventLoopExecuteTime: Long
- def getMaxEventLoopExecuteTimeUnit: TimeUnit
- def getMaxWorkerExecuteTime: Long
- def getMaxWorkerExecuteTimeUnit: TimeUnit
- def getMetricsOptions: MetricsOptions
- def getPreferNativeTransport: Boolean
- def getQuorumSize: Int
- def getWarningExceptionTime: Long
- def getWarningExceptionTimeUnit: TimeUnit
- def getWorkerPoolSize: Int
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def isClustered: Boolean
- def isFileResolverCachingEnabled: Boolean
- def isHAEnabled: Boolean
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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
setAddressResolverOptions(value: AddressResolverOptions): VertxOptions
Sets the address resolver configuration to configure resolving DNS servers, cache TTL, etc...
-
def
setBlockedThreadCheckInterval(value: Long): VertxOptions
Sets the value of blocked thread check period, in VertxOptions.
Sets the value of blocked thread check period, in VertxOptions.
The default value of VertxOptions is
-
def
setBlockedThreadCheckIntervalUnit(value: TimeUnit): VertxOptions
Set the time unit of
blockedThreadCheckInterval
. -
def
setClusterHost(value: String): VertxOptions
Set the hostname to be used for clustering.
-
def
setClusterPingInterval(value: Long): VertxOptions
Set the value of cluster ping interval, in ms.
-
def
setClusterPingReplyInterval(value: Long): VertxOptions
Set the value of cluster ping reply interval, in ms.
-
def
setClusterPort(value: Int): VertxOptions
Set the port to be used for clustering.
-
def
setClusterPublicHost(value: String): VertxOptions
Set the public facing hostname to be used for clustering.
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.
-
def
setClusterPublicPort(value: Int): VertxOptions
See VertxOptions for an explanation.
-
def
setClustered(value: Boolean): VertxOptions
Set whether or not the Vert.x instance will be clustered.
-
def
setEventBusOptions(value: EventBusOptions): VertxOptions
Sets the event bus configuration to configure the host, port, ssl...
-
def
setEventLoopPoolSize(value: Int): VertxOptions
Set the number of event loop threads to be used by the Vert.x instance.
-
def
setFileResolverCachingEnabled(value: Boolean): VertxOptions
Set whether the Vert.x file resolver uses caching for classpath resources.
Set whether the Vert.x file resolver uses caching for classpath resources.
Deprecated. Use FileSystemOptions instead.
-
def
setFileSystemOptions(value: FileSystemOptions): VertxOptions
Set the file system options
-
def
setHAEnabled(value: Boolean): VertxOptions
Set whether HA will be enabled on the Vert.x instance.
-
def
setHAGroup(value: String): VertxOptions
Set the HA group to be used when HA is enabled.
-
def
setInternalBlockingPoolSize(value: Int): VertxOptions
Set the value of internal blocking pool size
-
def
setMaxEventLoopExecuteTime(value: Long): VertxOptions
Sets the value of max event loop execute time, in VertxOptions.
Sets the value of max event loop execute time, in VertxOptions.
The default value of VertxOptionsis
-
def
setMaxEventLoopExecuteTimeUnit(value: TimeUnit): VertxOptions
Set the time unit of
maxEventLoopExecuteTime
. -
def
setMaxWorkerExecuteTime(value: Long): VertxOptions
Sets the value of max worker execute time, in VertxOptions.
Sets the value of max worker execute time, in VertxOptions.
The default value of VertxOptions is
-
def
setMaxWorkerExecuteTimeUnit(value: TimeUnit): VertxOptions
Set the time unit of
maxWorkerExecuteTime
. -
def
setMetricsOptions(value: MetricsOptions): VertxOptions
Set the metrics options
-
def
setPreferNativeTransport(value: Boolean): VertxOptions
Set wether to prefer the native transport to the JDK transport.
-
def
setQuorumSize(value: Int): VertxOptions
Set the quorum size to be used when HA is enabled.
-
def
setWarningExceptionTime(value: Long): VertxOptions
Set the threshold value above this, the blocked warning contains a stack trace.
Set the threshold value above this, the blocked warning contains a stack trace. in VertxOptions. The default value of VertxOptions is
-
def
setWarningExceptionTimeUnit(value: TimeUnit): VertxOptions
Set the time unit of
warningExceptionTime
. -
def
setWorkerPoolSize(value: Int): VertxOptions
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( ... )