vertx-lang-scala-docs_2.12 3.9.1 API < Back
 

# Packages

-  package root
  Definition Classes
    root
-  package io
  Definition Classes
    root
-  package vertx
  Definition Classes
    io
-  package scala
  Definition Classes
    vertx
-  package core
  Definition Classes
    scala
-  package cli
  Definition Classes
    core
-  package datagram
  Definition Classes
    core
-  package dns
  Definition Classes
    core
-  package eventbus
  Definition Classes
    core
-  package file
  Definition Classes
    core
-  package http
  Definition Classes
    core
-  package json
  Definition Classes
    core
-  package metrics
  Definition Classes
    core
-  package net
  Definition Classes
    core
-  package parsetools
  Definition Classes
    core
-  package shareddata
  Definition Classes
    core
-  package streams
  Definition Classes
    core
- CompositeFuture
- Context
- DeploymentOptions
- Future
- MultiMap
- Promise
- TimeoutStream
- Vertx
- VertxOptions
- WorkerExecutor

c

io.vertx.scala.core

# VertxOptions 

###
Companion object VertxOptions

#### class VertxOptions extends AnyRef

Instances of this class are used to configure io.vertx.scala.core.Vertx instances.

Linear Supertypes
AnyRef, Any
 
Ordering

1. Alphabetic
2. By Inheritance

Inherited

1. VertxOptions
2. AnyRef
3. Any

1. Hide All
2. Show All

Visibility

1. Public
2. All

### Instance Constructors

1.  new VertxOptions(_asJava: core.VertxOptions)

### Value Members

1.  final def !=(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
2.  final def ##(): Int
   Definition Classes
     AnyRef → Any
3.  final def ==(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
4.  final def asInstanceOf[T0]: T0
   Definition Classes
     Any
5.  def asJava: core.VertxOptions
6.  def clone(): AnyRef
   Attributes
     protected[java.lang]
   Definition Classes
     AnyRef
   Annotations
     @native() @throws( ... )
7.  final def eq(arg0: AnyRef): Boolean
   Definition Classes
     AnyRef
8.  def equals(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
9.  def finalize(): Unit
   Attributes
     protected[java.lang]
   Definition Classes
     AnyRef
   Annotations
     @throws( classOf[java.lang.Throwable] )
10.  def getAddressResolverOptions: AddressResolverOptions
11.  def getBlockedThreadCheckInterval: Long
12.  def getBlockedThreadCheckIntervalUnit: TimeUnit
13.  final def getClass(): Class[_]
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
14.  def getClusterHost: String
15.  def getClusterPingInterval: Long
16.  def getClusterPingReplyInterval: Long
17.  def getClusterPort: Int
18.  def getClusterPublicHost: String
19.  def getClusterPublicPort: Int
20.  def getEventBusOptions: EventBusOptions
21.  def getEventLoopPoolSize: Int
22.  def getFileSystemOptions: FileSystemOptions
23.  def getHAGroup: String
24.  def getInternalBlockingPoolSize: Int
25.  def getMaxEventLoopExecuteTime: Long
26.  def getMaxEventLoopExecuteTimeUnit: TimeUnit
27.  def getMaxWorkerExecuteTime: Long
28.  def getMaxWorkerExecuteTimeUnit: TimeUnit
29.  def getMetricsOptions: MetricsOptions
30.  def getPreferNativeTransport: Boolean
31.  def getQuorumSize: Int
32.  def getWarningExceptionTime: Long
33.  def getWarningExceptionTimeUnit: TimeUnit
34.  def getWorkerPoolSize: Int
35.  def hashCode(): Int
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
36.  def isClustered: Boolean
37.  def isFileResolverCachingEnabled: Boolean
38.  def isHAEnabled: Boolean
39.  final def isInstanceOf[T0]: Boolean
    Definition Classes
      Any
40.  final def ne(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
41.  final def notify(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
42.  final def notifyAll(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
43.  def setAddressResolverOptions(value: AddressResolverOptions): VertxOptions

    Sets the address resolver configuration to configure resolving DNS servers, cache TTL, etc...

44.  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

45.  def setBlockedThreadCheckIntervalUnit(value: TimeUnit): VertxOptions

    Set the time unit of `blockedThreadCheckInterval`.

46.  def setClusterHost(value: String): VertxOptions

    Set the hostname to be used for clustering.

47.  def setClusterPingInterval(value: Long): VertxOptions

    Set the value of cluster ping interval, in ms.

48.  def setClusterPingReplyInterval(value: Long): VertxOptions

    Set the value of cluster ping reply interval, in ms.

49.  def setClusterPort(value: Int): VertxOptions

    Set the port to be used for clustering.

50.  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.

51.  def setClusterPublicPort(value: Int): VertxOptions

    See VertxOptions for an explanation.

52.  def setClustered(value: Boolean): VertxOptions

    Set whether or not the Vert.x instance will be clustered.

53.  def setEventBusOptions(value: EventBusOptions): VertxOptions

    Sets the event bus configuration to configure the host, port, ssl...

54.  def setEventLoopPoolSize(value: Int): VertxOptions

    Set the number of event loop threads to be used by the Vert.x instance.

55.  def setFileResolverCachingEnabled(value: Boolean): VertxOptions

    Set whether the Vert.x file resolver uses caching for classpath resources.

56.  def setFileSystemOptions(value: FileSystemOptions): VertxOptions

    Set the file system options

57.  def setHAEnabled(value: Boolean): VertxOptions

    Set whether HA will be enabled on the Vert.x instance.

58.  def setHAGroup(value: String): VertxOptions

    Set the HA group to be used when HA is enabled.

59.  def setInternalBlockingPoolSize(value: Int): VertxOptions

    Set the value of internal blocking pool size

60.  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

61.  def setMaxEventLoopExecuteTimeUnit(value: TimeUnit): VertxOptions

    Set the time unit of `maxEventLoopExecuteTime`.

62.  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

63.  def setMaxWorkerExecuteTimeUnit(value: TimeUnit): VertxOptions

    Set the time unit of `maxWorkerExecuteTime`.

64.  def setMetricsOptions(value: MetricsOptions): VertxOptions

    Set the metrics options

65.  def setPreferNativeTransport(value: Boolean): VertxOptions

    Set wether to prefer the native transport to the JDK transport.

66.  def setQuorumSize(value: Int): VertxOptions

    Set the quorum size to be used when HA is enabled.

67.  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

68.  def setWarningExceptionTimeUnit(value: TimeUnit): VertxOptions

    Set the time unit of `warningExceptionTime`.

69.  def setWorkerPoolSize(value: Int): VertxOptions

    Set the maximum number of worker threads to be used by the Vert.x instance.

70.  final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
      AnyRef
71.  def toString(): String
    Definition Classes
      AnyRef → Any
72.  final def wait(): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )
73.  final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )
74.  final def wait(arg0: Long): Unit
    Definition Classes
      AnyRef
    Annotations
      @native() @throws( ... )

### Inherited from AnyRef

### Inherited from Any

### Ungrouped