Uses of Interface
io.vertx.core.Promise
Packages that use Promise
Package
Description
-
Uses of Promise in io.vertx.circuitbreaker
Methods in io.vertx.circuitbreaker with parameters of type PromiseModifier and TypeMethodDescription<T> CircuitBreakerCircuitBreaker.executeAndReport(Promise<T> resultPromise, Handler<Promise<T>> command) Same asCircuitBreaker.executeAndReportWithFallback(Promise, Handler, Function)but using the circuit breaker default fallback.<T> CircuitBreakerCircuitBreaker.executeAndReportWithFallback(Promise<T> resultPromise, Handler<Promise<T>> command, Function<Throwable, T> fallback) Executes the given operation with the circuit breaker control.Method parameters in io.vertx.circuitbreaker with type arguments of type PromiseModifier and TypeMethodDescription<T> Future<T> Same asCircuitBreaker.executeWithFallback(Handler, Function)but using the circuit breaker default fallback.<T> CircuitBreakerCircuitBreaker.executeAndReport(Promise<T> resultPromise, Handler<Promise<T>> command) Same asCircuitBreaker.executeAndReportWithFallback(Promise, Handler, Function)but using the circuit breaker default fallback.<T> CircuitBreakerCircuitBreaker.executeAndReportWithFallback(Promise<T> resultPromise, Handler<Promise<T>> command, Function<Throwable, T> fallback) Executes the given operation with the circuit breaker control.<T> Future<T> CircuitBreaker.executeWithFallback(Handler<Promise<T>> command, Function<Throwable, T> fallback) Executes the given operation with the circuit breaker control. -
Uses of Promise in io.vertx.core
Methods in io.vertx.core that return PromiseModifier and TypeMethodDescriptionstatic <T> Promise<T> Promise.promise()Create a promise that hasn't completed yetMethods in io.vertx.core with parameters of type PromiseModifier and TypeMethodDescriptionvoidStart the verticle.voidStart the verticle instance.voidStop the verticle.voidStop the verticle instance.Method parameters in io.vertx.core with type arguments of type Promise -
Uses of Promise in io.vertx.core.spi
Methods in io.vertx.core.spi with parameters of type PromiseModifier and TypeMethodDescriptiondefault voidVerticleFactory.createVerticle(String verticleName, ClassLoader classLoader, Promise<Callable<Verticle>> promise) Deprecated.default voidVerticleFactory.createVerticle2(String verticleName, ClassLoader classLoader, Promise<Callable<? extends Deployable>> promise) Create a verticle instance. -
Uses of Promise in io.vertx.eventbus.bridge.grpc
Subinterfaces of Promise in io.vertx.eventbus.bridge.grpcModifier and TypeInterfaceDescriptioninterfaceRepresents an event that occurs on the gRPC event bus bridge. -
Uses of Promise in io.vertx.ext.bridge
Subinterfaces of Promise in io.vertx.ext.bridgeModifier and TypeInterfaceDescriptioninterfaceRepresents an event that occurs on the event bus bridge. -
Uses of Promise in io.vertx.ext.cluster.infinispan
Subinterfaces with type arguments of type Promise in io.vertx.ext.cluster.infinispanModifier and TypeInterfaceDescriptioninterfaceA helper to create Vert.x clusterHealthChecksprocedures. -
Uses of Promise in io.vertx.ext.eventbus.bridge.tcp
Subinterfaces of Promise in io.vertx.ext.eventbus.bridge.tcpModifier and TypeInterfaceDescriptioninterfaceRepresents an event that occurs on the event bus bridge. -
Uses of Promise in io.vertx.ext.healthchecks
Method parameters in io.vertx.ext.healthchecks with type arguments of type Promise -
Uses of Promise in io.vertx.ext.shell
Methods in io.vertx.ext.shell with parameters of type Promise -
Uses of Promise in io.vertx.ext.unit
Methods in io.vertx.ext.unit with parameters of type Promise -
Uses of Promise in io.vertx.ext.web.handler.graphql.ws
Subinterfaces of Promise in io.vertx.ext.web.handler.graphql.ws -
Uses of Promise in io.vertx.ext.web.handler.sockjs
Subinterfaces of Promise in io.vertx.ext.web.handler.sockjsModifier and TypeInterfaceDescriptioninterfaceRepresents an event that occurs on the event bus bridge. -
Uses of Promise in io.vertx.ext.web.healthchecks
Method parameters in io.vertx.ext.web.healthchecks with type arguments of type PromiseModifier and TypeMethodDescriptionRegisters a health check procedure.Registers a health check procedure. -
Uses of Promise in io.vertx.lang.groovy
Methods in io.vertx.lang.groovy with parameters of type PromiseModifier and TypeMethodDescriptionvoidGroovyVerticleFactory.createVerticle(String verticleName, ClassLoader classLoader, Promise<Callable<Verticle>> promise) voidStart the verticle instance.voidStop the verticle instance. -
Uses of Promise in io.vertx.rabbitmq
Method parameters in io.vertx.rabbitmq with type arguments of type PromiseModifier and TypeMethodDescriptionvoidRabbitMQClient.addConnectionEstablishedCallback(Handler<Promise<Void>> connectionEstablishedCallback) Set a callback to be called whenever a new connection is established. -
Uses of Promise in io.vertx.reactivex.core
Methods in io.vertx.reactivex.core that return PromiseMethods in io.vertx.reactivex.core with parameters of type PromiseModifier and TypeMethodDescriptionstatic <T> Promise<T> Promise.newInstance(Promise arg) static <T> Promise<T> Promise.newInstance(Promise arg, io.vertx.lang.rx.TypeArg<T> __typeArg_T) voidvoidConstructors in io.vertx.reactivex.core with parameters of type Promise -
Uses of Promise in io.vertx.rxjava3.core
Methods in io.vertx.rxjava3.core that return PromiseMethods in io.vertx.rxjava3.core with parameters of type PromiseModifier and TypeMethodDescriptionstatic <T> Promise<T> Promise.newInstance(Promise arg) static <T> Promise<T> Promise.newInstance(Promise arg, io.vertx.lang.rx.TypeArg<T> __typeArg_T) voidvoidConstructors in io.vertx.rxjava3.core with parameters of type Promise -
Uses of Promise in io.vertx.servicediscovery.consul
Methods in io.vertx.servicediscovery.consul with parameters of type PromiseModifier and TypeMethodDescriptionImportedConsulService.register(ServicePublisher publisher, Promise<ImportedConsulService> completion) Registers the service and completes the given future when done.voidConsulServiceImporter.start(Vertx vertx, ServicePublisher publisher, JsonObject configuration, Promise<Void> completion) voidImportedConsulService.unregister(ServicePublisher publiher, Promise<Void> completion) Unregisters the service and completes the given future when done, if notnull -
Uses of Promise in io.vertx.servicediscovery.docker
Methods in io.vertx.servicediscovery.docker with parameters of type PromiseModifier and TypeMethodDescriptionvoidDockerLinksServiceImporter.start(Vertx vertx, ServicePublisher publisher, JsonObject configuration, Promise<Void> completion) -
Uses of Promise in io.vertx.servicediscovery.kubernetes
Methods in io.vertx.servicediscovery.kubernetes with parameters of type PromiseModifier and TypeMethodDescriptionvoidKubernetesServiceImporter.start(Vertx vertx, ServicePublisher publisher, JsonObject configuration, Promise<Void> completion) -
Uses of Promise in io.vertx.servicediscovery.spi
Methods in io.vertx.servicediscovery.spi with parameters of type PromiseModifier and TypeMethodDescriptionvoidServiceExporter.init(Vertx vertx, ServicePublisher publisher, JsonObject configuration, Promise<Void> future) Starts the exporter.voidServiceImporter.start(Vertx vertx, ServicePublisher publisher, JsonObject configuration, Promise<Void> future) Starts the importer. -
Uses of Promise in io.vertx.servicediscovery.zookeeper
Methods in io.vertx.servicediscovery.zookeeper with parameters of type PromiseModifier and TypeMethodDescriptionvoidZookeeperServiceImporter.start(Vertx vertx, ServicePublisher publisher, JsonObject configuration, Promise<Void> future) -
Uses of Promise in io.vertx.spi.cluster.hazelcast
Methods in io.vertx.spi.cluster.hazelcast that return types with arguments of type PromiseModifier and TypeMethodDescriptionClusterHealthCheck.createProcedure(Vertx vertx) Creates a ready-to-use Vert.x clusterHealthChecksprocedure.
VerticleFactory.createVerticle2(String, ClassLoader, Promise)