Uses of Interface
io.vertx.core.Promise
-
Packages that use Promise Package Description io.vertx.core io.vertx.core.spi io.vertx.core.spi.cluster -
-
Uses of Promise in io.vertx.core
Methods in io.vertx.core that return Promise Modifier and Type Method Description static <T> Promise<T>Promise. promise()Create a promise that hasn't completed yetMethods in io.vertx.core with parameters of type Promise Modifier and Type Method Description voidCloseable. close(Promise<Void> completion)Close this resource, thecompletionpromise must be notified when the operation has completed.voidAbstractVerticle. start(Promise<Void> startPromise)Start the verticle.voidVerticle. start(Promise<Void> startPromise)Start the verticle instance.voidAbstractVerticle. stop(Promise<Void> stopPromise)Stop the verticle.voidVerticle. stop(Promise<Void> stopPromise)Stop the verticle instance.Method parameters in io.vertx.core with type arguments of type Promise Modifier and Type Method Description static <T> Future<T>Future. future(Handler<Promise<T>> handler)Create a promise and pass it to thehandler, and then returns this future's promise. -
Uses of Promise in io.vertx.core.spi
Methods in io.vertx.core.spi with parameters of type Promise Modifier and Type Method Description default voidVerticleFactory. createVerticle(String verticleName, ClassLoader classLoader, Promise<Callable<Verticle>> promise)Deprecated.deprecated, instead implementVerticleFactory.createVerticle2(String, ClassLoader, Promise)default voidVerticleFactory. createVerticle2(String verticleName, ClassLoader classLoader, Promise<Callable<? extends Deployable>> promise)Create a verticle instance. -
Uses of Promise in io.vertx.core.spi.cluster
Methods in io.vertx.core.spi.cluster with parameters of type Promise Modifier and Type Method Description voidClusterManager. addRegistration(String address, RegistrationInfo registrationInfo, Promise<Void> promise)Share a new messaging handler registration with other nodes in the cluster.<K,V>
voidClusterManager. getAsyncMap(String name, Promise<AsyncMap<K,V>> promise)Return anAsyncMapfor the givenname.voidClusterManager. getCounter(String name, Promise<Counter> promise)Return aCounterfor the givenname.voidClusterManager. getLockWithTimeout(String name, long timeout, Promise<Lock> promise)voidClusteredNode. getNodeInfo(String nodeId, Promise<NodeInfo> promise)Get details about a specific node in the cluster.voidClusteredNode. getRegistrations(String address, Promise<List<RegistrationInfo>> promise)Get the messaging handler currently registered in the cluster.voidClusterManager. join(Promise<Void> promise)Join the cluster.voidClusterManager. leave(Promise<Void> promise)Leave the cluster.voidClusterManager. removeRegistration(String address, RegistrationInfo registrationInfo, Promise<Void> promise)Signal removal of a messaging handler registration to other nodes in the cluster.voidClusterManager. setNodeInfo(NodeInfo nodeInfo, Promise<Void> promise)Store the details about this clustered node.
-