## Uses of Class
io.vertx.reactivex.core.Promise

- Packages that use Promise
  Package | Description
  --- | ---
  io.vertx.reactivex.circuitbreaker |
  io.vertx.reactivex.core |
  io.vertx.reactivex.core.http |
  io.vertx.reactivex.ext.bridge |
  io.vertx.reactivex.ext.eventbus.bridge.tcp |
  io.vertx.reactivex.ext.healthchecks |
  io.vertx.reactivex.ext.unit |
  io.vertx.reactivex.servicediscovery.spi |

- - ### Uses of Promise in io.vertx.reactivex.circuitbreaker

    Methods in io.vertx.reactivex.circuitbreaker with parameters of type Promise
    Modifier and Type | Method and Description
    --- | ---
    `<T> CircuitBreaker` | CircuitBreaker.`executeAndReport(Promise<T> resultPromise, Handler<Promise<T>> command)` Same as `CircuitBreaker.executeAndReportWithFallback(io.vertx.reactivex.core.Promise<T>, io.vertx.core.Handler<io.vertx.reactivex.core.Promise<T>>, java.util.function.Function<java.lang.Throwable, T>)` but using the circuit breaker default fallback.
    `<T> CircuitBreaker` | CircuitBreaker.`executeAndReportWithFallback(Promise<T> resultPromise, Handler<Promise<T>> command, java.util.function.Function<Throwable,T> fallback)` Executes the given operation with the circuit breaker control.

    Method parameters in io.vertx.reactivex.circuitbreaker with type arguments of type Promise
    Modifier and Type | Method and Description
    --- | ---
    `<T> Future<T>` | CircuitBreaker.`execute(Handler<Promise<T>> command)` Same as `CircuitBreaker.executeWithFallback(io.vertx.core.Handler<io.vertx.reactivex.core.Promise<T>>, java.util.function.Function<java.lang.Throwable, T>)` but using the circuit breaker default fallback.
    `<T> CircuitBreaker` | CircuitBreaker.`executeAndReport(Promise<T> resultPromise, Handler<Promise<T>> command)` Same as `CircuitBreaker.executeAndReportWithFallback(io.vertx.reactivex.core.Promise<T>, io.vertx.core.Handler<io.vertx.reactivex.core.Promise<T>>, java.util.function.Function<java.lang.Throwable, T>)` but using the circuit breaker default fallback.
    `<T> CircuitBreaker` | CircuitBreaker.`executeAndReportWithFallback(Promise<T> resultPromise, Handler<Promise<T>> command, java.util.function.Function<Throwable,T> fallback)` Executes the given operation with the circuit breaker control.
    `<T> void` | CircuitBreaker.`executeCommand(Handler<Promise<T>> command, Handler<AsyncResult<T>> handler)` Same as `CircuitBreaker.executeWithFallback(io.vertx.core.Handler<io.vertx.reactivex.core.Promise<T>>, java.util.function.Function<java.lang.Throwable, T>)` but using the circuit breaker default fallback.
    `<T> void` | CircuitBreaker.`executeCommandWithFallback(Handler<Promise<T>> command, java.util.function.Function<Throwable,T> fallback, Handler<AsyncResult<T>> handler)` Same as `CircuitBreaker.executeWithFallback(io.vertx.core.Handler<io.vertx.reactivex.core.Promise<T>>, java.util.function.Function<java.lang.Throwable, T>)` but using a callback.
    `<T> Future<T>` | CircuitBreaker.`executeWithFallback(Handler<Promise<T>> command, java.util.function.Function<Throwable,T> fallback)` Executes the given operation with the circuit breaker control.
    `<T> Single<T>` | CircuitBreaker.`rxExecuteCommand(Handler<Promise<T>> command)` Same as `CircuitBreaker.executeWithFallback(io.vertx.core.Handler<io.vertx.reactivex.core.Promise<T>>, java.util.function.Function<java.lang.Throwable, T>)` but using the circuit breaker default fallback.
    `<T> Single<T>` | CircuitBreaker.`rxExecuteCommandWithFallback(Handler<Promise<T>> command, java.util.function.Function<Throwable,T> fallback)` Same as `CircuitBreaker.executeWithFallback(io.vertx.core.Handler<io.vertx.reactivex.core.Promise<T>>, java.util.function.Function<java.lang.Throwable, T>)` but using a callback.

  - ### Uses of Promise in io.vertx.reactivex.core

    Fields in io.vertx.reactivex.core with type parameters of type Promise
    Modifier and Type | Field and Description
    --- | ---
    `static io.vertx.lang.rx.TypeArg<Promise>` | Promise.`__TYPE_ARG`

    Methods in io.vertx.reactivex.core that return Promise
    Modifier and Type | Method and Description
    --- | ---
    `static <T> Promise<T>` | Promise.`failedPromise(String failureMessage)` Create a failed promise with the specified `failureMessage`.
    `static <T> Promise<T>` | Promise.`failedPromise(Throwable cause)` Create a failed promise with the specified failure `cause`.
    `static <T> Promise<T>` | Promise.`newInstance(Promise arg)`
    `static <T> Promise<T>` | Promise.`newInstance(Promise arg, io.vertx.lang.rx.TypeArg<T> __typeArg_T)`
    `static <T> Promise<T>` | Promise.`promise()` Create a promise that hasn't completed yet
    `static <T> Promise<T>` | Promise.`succeededPromise()` Create a succeeded promise with a `null` result
    `static <T> Promise<T>` | Promise.`succeededPromise(T result)` Created a succeeded promise with the specified `result`.

    Method parameters in io.vertx.reactivex.core with type arguments of type Promise
    Modifier and Type | Method and Description
    --- | ---
    `<T> void` | Context.`executeBlocking(Handler<Promise<T>> blockingCodeHandler, boolean ordered, Handler<AsyncResult<T>> resultHandler)` Safely execute some blocking code.
    `<T> void` | Vertx.`executeBlocking(Handler<Promise<T>> blockingCodeHandler, boolean ordered, Handler<AsyncResult<T>> resultHandler)` Safely execute some blocking code.
    `<T> void` | WorkerExecutor.`executeBlocking(Handler<Promise<T>> blockingCodeHandler, boolean ordered, Handler<AsyncResult<T>> resultHandler)` Safely execute some blocking code.
    `<T> void` | Context.`executeBlocking(Handler<Promise<T>> blockingCodeHandler, Handler<AsyncResult<T>> resultHandler)` Invoke `Context.executeBlocking(io.vertx.core.Handler<io.vertx.reactivex.core.Promise<T>>, boolean, io.vertx.core.Handler<io.vertx.core.AsyncResult<T>>)` with order = true.
    `<T> void` | Vertx.`executeBlocking(Handler<Promise<T>> blockingCodeHandler, Handler<AsyncResult<T>> resultHandler)` Like `Vertx.executeBlocking(io.vertx.core.Handler<io.vertx.reactivex.core.Promise<T>>, boolean, io.vertx.core.Handler<io.vertx.core.AsyncResult<T>>)` called with ordered = true.
    `<T> void` | WorkerExecutor.`executeBlocking(Handler<Promise<T>> blockingCodeHandler, Handler<AsyncResult<T>> resultHandler)` Like `WorkerExecutor.executeBlocking(io.vertx.core.Handler<io.vertx.reactivex.core.Promise<T>>, boolean, io.vertx.core.Handler<io.vertx.core.AsyncResult<T>>)` called with ordered = true.
    `static <T> Future<T>` | Future.`future(Handler<Promise<T>> handler)` Create a future that hasn't completed yet and that is passed to the `handler` before it is returned.
    `<T> Maybe<T>` | Context.`rxExecuteBlocking(Handler<Promise<T>> blockingCodeHandler)` Invoke `Context.executeBlocking(io.vertx.core.Handler<io.vertx.reactivex.core.Promise<T>>, boolean, io.vertx.core.Handler<io.vertx.core.AsyncResult<T>>)` with order = true.
    `<T> Maybe<T>` | Vertx.`rxExecuteBlocking(Handler<Promise<T>> blockingCodeHandler)` Like `Vertx.executeBlocking(io.vertx.core.Handler<io.vertx.reactivex.core.Promise<T>>, boolean, io.vertx.core.Handler<io.vertx.core.AsyncResult<T>>)` called with ordered = true.
    `<T> Maybe<T>` | WorkerExecutor.`rxExecuteBlocking(Handler<Promise<T>> blockingCodeHandler)` Like `WorkerExecutor.executeBlocking(io.vertx.core.Handler<io.vertx.reactivex.core.Promise<T>>, boolean, io.vertx.core.Handler<io.vertx.core.AsyncResult<T>>)` called with ordered = true.
    `<T> Maybe<T>` | Context.`rxExecuteBlocking(Handler<Promise<T>> blockingCodeHandler, boolean ordered)` Safely execute some blocking code.
    `<T> Maybe<T>` | Vertx.`rxExecuteBlocking(Handler<Promise<T>> blockingCodeHandler, boolean ordered)` Safely execute some blocking code.
    `<T> Maybe<T>` | WorkerExecutor.`rxExecuteBlocking(Handler<Promise<T>> blockingCodeHandler, boolean ordered)` Safely execute some blocking code.

  - ### Uses of Promise in io.vertx.reactivex.core.http

    Methods in io.vertx.reactivex.core.http with parameters of type Promise
    Modifier and Type | Method and Description
    --- | ---
    `void` | ServerWebSocket.`setHandshake(Promise<Integer> future)` Set an asynchronous result for the handshake, upon completion of the specified `future`, the WebSocket will either be accepted when the `future` succeeds with the HTTP status code rejected when the `future` is succeeds with an HTTP status code different than rejected when the `future` fails with the HTTP status code `500` The provided future might be completed by the WebSocket itself, e.g calling the `ServerWebSocket.close(io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>)` method will try to accept the handshake and close the WebSocket afterward.

  - ### Uses of Promise in io.vertx.reactivex.ext.bridge

    Subclasses of Promise in io.vertx.reactivex.ext.bridge
    Modifier and Type | Class and Description
    --- | ---
    `class` | `BaseBridgeEvent` Represents an event that occurs on the event bus bridge.

  - ### Uses of Promise in io.vertx.reactivex.ext.eventbus.bridge.tcp

    Subclasses of Promise in io.vertx.reactivex.ext.eventbus.bridge.tcp
    Modifier and Type | Class and Description
    --- | ---
    `class` | `BridgeEvent` Represents an event that occurs on the event bus bridge.

  - ### Uses of Promise in io.vertx.reactivex.ext.healthchecks

    Method parameters in io.vertx.reactivex.ext.healthchecks with type arguments of type Promise
    Modifier and Type | Method and Description
    --- | ---
    `HealthChecks` | HealthChecks.`register(String name, Handler<Promise<Status>> procedure)` Registers a health check procedure.
    `HealthCheckHandler` | HealthCheckHandler.`register(String name, Handler<Promise<Status>> procedure)` Registers a health check procedure.
    `HealthChecks` | HealthChecks.`register(String name, long timeout, Handler<Promise<Status>> procedure)` Registers a health check procedure.
    `HealthCheckHandler` | HealthCheckHandler.`register(String name, long timeout, Handler<Promise<Status>> procedure)` Registers a health check procedure.

  - ### Uses of Promise in io.vertx.reactivex.ext.unit

    Methods in io.vertx.reactivex.ext.unit with parameters of type Promise
    Modifier and Type | Method and Description
    --- | ---
    `void` | Completion.`resolve(Promise<T> future)` Completes the future upon completion, otherwise fails it.
    `void` | Async.`resolve(Promise<Void> future)` Completes the future upon completion, otherwise fails it.
    `void` | TestCompletion.`resolve(Promise<Void> future)` Completes the future upon completion, otherwise fails it.

  - ### Uses of Promise in io.vertx.reactivex.servicediscovery.spi

    Methods in io.vertx.reactivex.servicediscovery.spi with parameters of type Promise
    Modifier and Type | Method and Description
    --- | ---
    `void` | ServiceExporter.`init(Vertx vertx, ServicePublisher publisher, JsonObject configuration, Promise<Void> future)` Starts the exporter.
    `void` | ServiceImporter.`start(Vertx vertx, ServicePublisher publisher, JsonObject configuration, Promise<Void> future)` Starts the importer.

Copyright © 2019 Eclipse. All rights reserved.