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

# CompositeFuture 

###
Companion class CompositeFuture

#### object CompositeFuture

Linear Supertypes
AnyRef, Any
 
Ordering

1. Alphabetic
2. By Inheritance

Inherited

1. CompositeFuture
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 all(futures: Buffer[Future[_]]): CompositeFuture

   Like io.vertx.scala.core.CompositeFuture#all but with a list of futures.

   Like io.vertx.scala.core.CompositeFuture#all but with a list of futures.

   When the list is empty, the returned future will be already completed.

5.  def all[T1, T2, T3, T4, T5, T6](f1: Future[T1], f2: Future[T2], f3: Future[T3], f4: Future[T4], f5: Future[T5], f6: Future[T6]): CompositeFuture

   Like io.vertx.scala.core.CompositeFuture#all but with 6 futures.

6.  def all[T1, T2, T3, T4, T5](f1: Future[T1], f2: Future[T2], f3: Future[T3], f4: Future[T4], f5: Future[T5]): CompositeFuture

   Like io.vertx.scala.core.CompositeFuture#all but with 5 futures.

7.  def all[T1, T2, T3, T4](f1: Future[T1], f2: Future[T2], f3: Future[T3], f4: Future[T4]): CompositeFuture

   Like io.vertx.scala.core.CompositeFuture#all but with 4 futures.

8.  def all[T1, T2, T3](f1: Future[T1], f2: Future[T2], f3: Future[T3]): CompositeFuture

   Like io.vertx.scala.core.CompositeFuture#all but with 3 futures.

9.  def all[T1, T2](f1: Future[T1], f2: Future[T2]): CompositeFuture

   Return a composite future, succeeded when all futures are succeeded, failed when any future is failed.

   Return a composite future, succeeded when all futures are succeeded, failed when any future is failed.

   The returned future fails as soon as one of `f1` or `f2` fails.

   f1

     future

   f2

     future

   returns

     the composite future

10.  def any(futures: Buffer[Future[_]]): CompositeFuture

    Like io.vertx.scala.core.CompositeFuture#any but with a list of futures.

    Like io.vertx.scala.core.CompositeFuture#any but with a list of futures.

    When the list is empty, the returned future will be already completed.

11.  def any[T1, T2, T3, T4, T5, T6](f1: Future[T1], f2: Future[T2], f3: Future[T3], f4: Future[T4], f5: Future[T5], f6: Future[T6]): CompositeFuture

    Like io.vertx.scala.core.CompositeFuture#any but with 6 futures.

12.  def any[T1, T2, T3, T4, T5](f1: Future[T1], f2: Future[T2], f3: Future[T3], f4: Future[T4], f5: Future[T5]): CompositeFuture

    Like io.vertx.scala.core.CompositeFuture#any but with 5 futures.

13.  def any[T1, T2, T3, T4](f1: Future[T1], f2: Future[T2], f3: Future[T3], f4: Future[T4]): CompositeFuture

    Like io.vertx.scala.core.CompositeFuture#any but with 4 futures.

14.  def any[T1, T2, T3](f1: Future[T1], f2: Future[T2], f3: Future[T3]): CompositeFuture

    Like io.vertx.scala.core.CompositeFuture#any but with 3 futures.

15.  def any[T1, T2](f1: Future[T1], f2: Future[T2]): CompositeFuture

    Return a composite future, succeeded when any futures is succeeded, failed when all futures are failed.

    Return a composite future, succeeded when any futures is succeeded, failed when all futures are failed.

    The returned future succeeds as soon as one of `f1` or `f2` succeeds.

    f1

      future

    f2

      future

    returns

      the composite future

16.  def apply(asJava: core.CompositeFuture): CompositeFuture
17.  final def asInstanceOf[T0]: T0
    Definition Classes
      Any
18.  def clone(): AnyRef
    Attributes
      protected[java.lang]
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )
19.  final def eq(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
20.  def equals(arg0: Any): Boolean
    Definition Classes
      AnyRef → Any
21.  def finalize(): Unit
    Attributes
      protected[java.lang]
    Definition Classes
      AnyRef
    Annotations
      @throws( classOf[java.lang.Throwable] )
22.  final def getClass(): Class[_]
    Definition Classes
      AnyRef → Any
23.  def hashCode(): Int
    Definition Classes
      AnyRef → Any
24.  final def isInstanceOf[T0]: Boolean
    Definition Classes
      Any
25.  def join(futures: Buffer[Future[_]]): CompositeFuture

    Like io.vertx.scala.core.CompositeFuture#join but with a list of futures.

    Like io.vertx.scala.core.CompositeFuture#join but with a list of futures.

    When the list is empty, the returned future will be already completed.

26.  def join[T1, T2, T3, T4, T5, T6](f1: Future[T1], f2: Future[T2], f3: Future[T3], f4: Future[T4], f5: Future[T5], f6: Future[T6]): CompositeFuture

    Like io.vertx.scala.core.CompositeFuture#join but with 6 futures.

27.  def join[T1, T2, T3, T4, T5](f1: Future[T1], f2: Future[T2], f3: Future[T3], f4: Future[T4], f5: Future[T5]): CompositeFuture

    Like io.vertx.scala.core.CompositeFuture#join but with 5 futures.

28.  def join[T1, T2, T3, T4](f1: Future[T1], f2: Future[T2], f3: Future[T3], f4: Future[T4]): CompositeFuture

    Like io.vertx.scala.core.CompositeFuture#join but with 4 futures.

29.  def join[T1, T2, T3](f1: Future[T1], f2: Future[T2], f3: Future[T3]): CompositeFuture

    Like io.vertx.scala.core.CompositeFuture#join but with 3 futures.

30.  def join[T1, T2](f1: Future[T1], f2: Future[T2]): CompositeFuture

    Return a composite future, succeeded when all futures are succeeded, failed when any future is failed.

    Return a composite future, succeeded when all futures are succeeded, failed when any future is failed.

    It always wait until all its futures are completed and will not fail as soon as one of `f1` or `f2` fails.

    f1

      future

    f2

      future

    returns

      the composite future

31.  final def ne(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
32.  final def notify(): Unit
    Definition Classes
      AnyRef
33.  final def notifyAll(): Unit
    Definition Classes
      AnyRef
34.  final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
      AnyRef
35.  def toString(): String
    Definition Classes
      AnyRef → Any
36.  final def wait(): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )
37.  final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )
38.  final def wait(arg0: Long): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )

### Inherited from AnyRef

### Inherited from Any

### Ungrouped