Uses of Class
io.vertx.reactivex.core.Promise
-
-
Uses of Promise in io.vertx.reactivex.circuitbreaker
Methods in io.vertx.reactivex.circuitbreaker with parameters of type Promise Modifier and Type Method Description <T> CircuitBreaker
CircuitBreaker. executeAndReport(Promise<T> resultPromise, Handler<Promise<T>> command)
<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 Description <T> Future<T>
CircuitBreaker. execute(Handler<Promise<T>> command)
Same asCircuitBreaker.executeWithFallback(io.vertx.core.Handler<io.vertx.reactivex.core.Promise<T>>, java.util.function.Function<java.lang.Throwable, T>)
but using the circuit breaker .<T> CircuitBreaker
CircuitBreaker. executeAndReport(Promise<T> resultPromise, Handler<Promise<T>> command)
<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> 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. rxExecute(Handler<Promise<T>> command)
Same asCircuitBreaker.executeWithFallback(io.vertx.core.Handler<io.vertx.reactivex.core.Promise<T>>, java.util.function.Function<java.lang.Throwable, T>)
but using the circuit breaker .<T> Single<T>
CircuitBreaker. rxExecuteWithFallback(Handler<Promise<T>> command, java.util.function.Function<Throwable,T> fallback)
Executes the given operation with the circuit breaker control. -
Uses of Promise in io.vertx.reactivex.core
Fields in io.vertx.reactivex.core with type parameters of type Promise Modifier and Type Field Description static io.vertx.lang.rx.TypeArg<Promise>
Promise. __TYPE_ARG
Methods in io.vertx.reactivex.core that return Promise Modifier and Type Method Description 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 -
Uses of Promise in io.vertx.reactivex.ext.bridge
Subclasses of Promise in io.vertx.reactivex.ext.bridge Modifier and Type Class 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 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 Description HealthChecks
HealthChecks. register(String name, long timeout, Handler<Promise<Status>> procedure)
Registers a health check procedure.HealthChecks
HealthChecks. register(String name, 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 Description void
Async. resolve(Promise<Void> future)
Completes the future upon completion, otherwise fails it.void
Completion. resolve(Promise<T> 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.ext.web.handler.graphql.ws
Subclasses of Promise in io.vertx.reactivex.ext.web.handler.graphql.ws Modifier and Type Class Description class
ConnectionInitEvent
-
Uses of Promise in io.vertx.reactivex.ext.web.handler.sockjs
Subclasses of Promise in io.vertx.reactivex.ext.web.handler.sockjs Modifier and Type Class Description class
BridgeEvent
Represents an event that occurs on the event bus bridge. -
Uses of Promise in io.vertx.reactivex.ext.web.healthchecks
Method parameters in io.vertx.reactivex.ext.web.healthchecks with type arguments of type Promise Modifier and Type Method Description HealthCheckHandler
HealthCheckHandler. register(String name, long timeout, Handler<Promise<Status>> procedure)
Registers a health check procedure.HealthCheckHandler
HealthCheckHandler. register(String name, Handler<Promise<Status>> procedure)
Registers a health check procedure. -
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 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.
-