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 TypeClassDescriptionclassAn abstract implementation of theListenableFutureinterface.final classAListenableFuturewhose 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 aListenableFuturewhich has an exception set immediately upon construction.static <V> ListenableFuture<V>Futures.immediateFuture(V value) Creates aListenableFuturewhich 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 newListenableFuturewhose result is the product of applying the givenFunctionto 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 newListenableFuturewhose result is the product of applying the givenFunctionto the result of the givenFuture.