Uses of Interface
org.glassfish.jersey.internal.guava.ListenableFuture
-
Packages that use ListenableFuture Package Description org.glassfish.jersey.internal.guava -
-
Uses of ListenableFuture in org.glassfish.jersey.internal.guava
Classes in org.glassfish.jersey.internal.guava that implement ListenableFuture Modifier and Type Class Description classAbstractFuture<V>An abstract implementation of theListenableFutureinterface.classSettableFuture<V>AListenableFuturewhose result may be set by aSettableFuture.set(Object)orSettableFuture.setException(Throwable)call.Methods in org.glassfish.jersey.internal.guava that return ListenableFuture Modifier and Type Method Description static <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.ListenableFuture<V>CacheLoader. reload(K key, V oldValue)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 ListenableFuture Modifier and Type Method Description 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.
-