Uses of Interface
org.glassfish.jersey.internal.guava.ListenableFuture
Packages that use ListenableFuture
-
Uses of ListenableFuture in org.glassfish.jersey.internal.guava
Classes in org.glassfish.jersey.internal.guava that implement ListenableFutureModifier and TypeClassDescriptionclass
An abstract implementation of theListenableFuture
interface.final class
AListenableFuture
whose result may be set by aSettableFuture.set(Object)
orSettableFuture.setException(Throwable)
call.Methods in org.glassfish.jersey.internal.guava that return ListenableFutureModifier and TypeMethodDescriptionstatic <V> ListenableFuture<V>
Futures.immediateFailedFuture
(Throwable throwable) Returns aListenableFuture
which has an exception set immediately upon construction.static <V> ListenableFuture<V>
Futures.immediateFuture
(V value) Creates aListenableFuture
which has its value set immediately upon construction.Computes or retrieves a replacement value corresponding to an already-cachedkey
.static <I,
O> ListenableFuture<O> Futures.transform
(ListenableFuture<I> input, Function<? super I, ? extends O> function) Returns a newListenableFuture
whose result is the product of applying the givenFunction
to the result of the givenFuture
.Methods in org.glassfish.jersey.internal.guava with parameters of type ListenableFutureModifier and TypeMethodDescriptionstatic <I,
O> ListenableFuture<O> Futures.transform
(ListenableFuture<I> input, Function<? super I, ? extends O> function) Returns a newListenableFuture
whose result is the product of applying the givenFunction
to the result of the givenFuture
.