Uses of Interface
org.cometd.bayeux.Promise
-
Uses of Promise in org.cometd.bayeux
Classes in org.cometd.bayeux that implement PromiseModifier and TypeClassDescriptionstatic classA CompletableFuture that is also a Promise.static classA wrapper forPromiseinstances.Fields in org.cometd.bayeux declared as PromiseModifier and TypeFieldDescriptionstatic final Promise<?> Promise.NOOPShared instance whose methods are implemented empty,Methods in org.cometd.bayeux that return PromiseModifier and TypeMethodDescriptionstatic <T> Promise<T> Promise.complete(BiConsumer<T, Throwable> fn) Returns a Promise that, when completed, invokes the givenBiConsumerfunction.static <T> Promise<T> Promise.Wrapper.getWrapped()static <T> Promise<T> Promise.noop()Constructors in org.cometd.bayeux with parameters of type Promise