vertx-lang-scala-docs_2.12 3.5.2.CR2 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 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
- 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.  final def getClass(): Class[_]
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
13.  def getClusterHost: String
14.  def getClusterPingInterval: Long
15.  def getClusterPingReplyInterval: Long
16.  def getClusterPort: Int
17.  def getClusterPublicHost: String
18.  def getClusterPublicPort: Int
19.  def getEventBusOptions: EventBusOptions
20.  def getEventLoopPoolSize: Int
21.  def getHAGroup: String
22.  def getInternalBlockingPoolSize: Int
23.  def getMaxEventLoopExecuteTime: Long
24.  def getMaxWorkerExecuteTime: Long
25.  def getMetricsOptions: MetricsOptions
26.  def getPreferNativeTransport: Boolean
27.  def getQuorumSize: Int
28.  def getWarningExceptionTime: Long
29.  def getWorkerPoolSize: Int
30.  def hashCode(): Int
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
31.  def isClustered: Boolean
32.  def isFileResolverCachingEnabled: Boolean
33.  def isHAEnabled: Boolean
34.  final def isInstanceOf[T0]: Boolean
    Definition Classes
      Any
35.  final def ne(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
36.  final def notify(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
37.  final def notifyAll(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
38.  def setAddressResolverOptions(value: AddressResolverOptions): VertxOptions

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

39.  def setBlockedThreadCheckInterval(value: Long): VertxOptions

    Sets the value of blocked thread check period, in ms.

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

    Set the hostname to be used for clustering.

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

    Set the value of cluster ping interval, in ms.

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

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

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

    Set the port to be used for clustering.

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

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

    See VertxOptions for an explanation.

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

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

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

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

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

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

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

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

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

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

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

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

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

    Set the value of internal blocking pool size

53.  def setMaxEventLoopExecuteTime(value: Long): VertxOptions

    Sets the value of max event loop execute time, in ns.

54.  def setMaxWorkerExecuteTime(value: Long): VertxOptions

    Sets the value of max worker execute time, in ns.

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

    Set the metrics options

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

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

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

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

58.  def setWarningExceptionTime(value: Long): VertxOptions

    Set the threshold value above this, the blocked warning contains a stack trace.

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

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

60.  final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
      AnyRef
61.  def toString(): String
    Definition Classes
      AnyRef → Any
62.  final def wait(): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )
63.  final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )
64.  final def wait(arg0: Long): Unit
    Definition Classes
      AnyRef
    Annotations
      @native() @throws( ... )

### Inherited from AnyRef

### Inherited from Any

### Ungrouped