io.vertx.core.spi

## Interface FutureFactory

-     public interface FutureFactory

  Author:
    Tim Fox

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `<T> Future<T>` | `completedFuture()`
    `<T> Future<T>` | `completedFuture(String failureMessage, boolean failed)`
    `<T> Future<T>` | `completedFuture(T result)`
    `<T> Future<T>` | `completedFuture(Throwable t)`
    `<T> Future<T>` | `future()`

- - ### Method Detail

    - #### future

          <T> Future<T> future()

    - #### completedFuture

          <T> Future<T> completedFuture()

    - #### completedFuture

          <T> Future<T> completedFuture(T result)

    - #### completedFuture

          <T> Future<T> completedFuture(Throwable t)

    - #### completedFuture

          <T> Future<T> completedFuture(String failureMessage,
                                        boolean failed)

Copyright © 2015. All rights reserved.