vertx-lang-scala-docs_2.12 3.4.0 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

o

io.vertx.scala.core

# Future 

###
Companion class Future

#### object Future

Linear Supertypes
AnyRef, Any
 
Ordering

1. Alphabetic
2. By Inheritance

Inherited

1. Future
2. AnyRef
3. Any

1. Hide All
2. Show All

Visibility

1. Public
2. All

### 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.  def apply[T](asJava: core.Future[_])(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[T]): Future[T]
5.  final def asInstanceOf[T0]: T0
   Definition Classes
     Any
6.  def clone(): AnyRef
   Attributes
     protected[java.lang]
   Definition Classes
     AnyRef
   Annotations
     @throws( ... )
7.  final def eq(arg0: AnyRef): Boolean
   Definition Classes
     AnyRef
8.  def equals(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
9.  def failedFuture[T](failureMessage: String)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[T]): Future[T]

   Create a failed future with the specified failure message.

   Create a failed future with the specified failure message.

   failureMessage

     the failure message

   returns

     the future

10.  def failedFuture[T](t: Throwable)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[T]): Future[T]

    Create a failed future with the specified failure cause.

    Create a failed future with the specified failure cause.

    t

      the failure cause as a Throwable

    returns

      the future

11.  def finalize(): Unit
    Attributes
      protected[java.lang]
    Definition Classes
      AnyRef
    Annotations
      @throws( classOf[java.lang.Throwable] )
12.  def future[T]()(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[T]): Future[T]

    Create a future that hasn't completed yet

    Create a future that hasn't completed yet

    returns

      the future

13.  def future[T](handler: Handler[Future[T]])(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[T]): Future[T]

    Create a future that hasn't completed yet and that is passed to the `handler` before it is returned.

    Create a future that hasn't completed yet and that is passed to the `handler` before it is returned.

    handler

      the handler

    returns

      the future.

14.  final def getClass(): Class[_]
    Definition Classes
      AnyRef → Any
15.  def hashCode(): Int
    Definition Classes
      AnyRef → Any
16.  final def isInstanceOf[T0]: Boolean
    Definition Classes
      Any
17.  final def ne(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
18.  final def notify(): Unit
    Definition Classes
      AnyRef
19.  final def notifyAll(): Unit
    Definition Classes
      AnyRef
20.  def succeededFuture[T](result: T)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[T]): Future[T]

    Created a succeeded future with the specified result.

    Created a succeeded future with the specified result.

    result

      the result

    returns

      the future

21.  def succeededFuture[T]()(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[T]): Future[T]

    Create a succeeded future with a null result

    Create a succeeded future with a null result

    returns

      the future

22.  final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
      AnyRef
23.  def toString(): String
    Definition Classes
      AnyRef → Any
24.  final def wait(): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )
25.  final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )
26.  final def wait(arg0: Long): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )

### Inherited from AnyRef

### Inherited from Any

### Ungrouped