Uses of Interface
io.vertx.core.Completable
Packages that use Completable
-
Uses of Completable in io.vertx.core
Subinterfaces of Completable in io.vertx.coreModifier and TypeInterfaceDescriptioninterfacePromise<T>Represents the writable side of an action that may, or may not, have occurred yet.Methods in io.vertx.core with parameters of type CompletableModifier and TypeMethodDescriptionFuture.andThen(Completable<? super T> handler) Invokes the givenhandlerupon completion.voidCloseable.close(Completable<Void> completion) Close this resource, thecompletionpromise must be notified when the operation has completed.Future.onComplete(Completable<? super T> handler) Add handlers to be notified on succeeded result and failed result. -
Uses of Completable in io.vertx.core.spi.cluster
Methods in io.vertx.core.spi.cluster with parameters of type CompletableModifier and TypeMethodDescriptionvoidClusterManager.addRegistration(String address, RegistrationInfo registrationInfo, Completable<Void> promise) Share a new messaging handler registration with other nodes in the cluster.<K,V> void ClusterManager.getAsyncMap(String name, Completable<AsyncMap<K, V>> promise) Return anAsyncMapfor the givenname.voidClusterManager.getCounter(String name, Completable<Counter> promise) Return aCounterfor the givenname.voidClusterManager.getLockWithTimeout(String name, long timeout, Completable<Lock> promise) voidClusteredNode.getNodeInfo(String nodeId, Completable<NodeInfo> promise) Get details about a specific node in the cluster.voidClusteredNode.getRegistrations(String address, Completable<List<RegistrationInfo>> promise) Get the messaging handler currently registered in the cluster.voidClusterManager.join(Completable<Void> promise) Join the cluster.voidClusterManager.leave(Completable<Void> promise) Leave the cluster.voidClusterManager.removeRegistration(String address, RegistrationInfo registrationInfo, Completable<Void> promise) Signal removal of a messaging handler registration to other nodes in the cluster.voidClusterManager.setNodeInfo(NodeInfo nodeInfo, Completable<Void> promise) Store the details about this clustered node.