Uses of Interface
org.docx4j.com.google.common.util.concurrent.ListenableFuture
Packages that use ListenableFuture
-
Uses of ListenableFuture in org.docx4j.com.google.common.cache
Methods in org.docx4j.com.google.common.cache that return ListenableFutureModifier and TypeMethodDescriptionComputes or retrieves a replacement value corresponding to an already-cachedkey. -
Uses of ListenableFuture in org.docx4j.com.google.common.util.concurrent
Subinterfaces of ListenableFuture in org.docx4j.com.google.common.util.concurrentModifier and TypeInterfaceDescriptioninterfaceHelper interface to implement bothListenableFutureandScheduledFuture.Classes in org.docx4j.com.google.common.util.concurrent that implement ListenableFutureModifier and TypeClassDescriptionclassAn abstract implementation ofListenableFuture, intended for advanced users only.classFluentFuture<V>AListenableFuturethat supports fluent chains of operations.final classAListenableFuturewhose result can be set by aSettableFuture.set(Object),SettableFuture.setException(Throwable)orSettableFuture.setFuture(ListenableFuture)call.Methods in org.docx4j.com.google.common.util.concurrent that return ListenableFutureModifier and TypeMethodDescriptionReturns an outputFutureto use in place of the giveninput.static <V> ListenableFuture<V>Futures.immediateFailedFuture(Throwable throwable) Returns aListenableFuturewhich has an exception set immediately upon construction.static <V> ListenableFuture<V>Futures.immediateFuture(@Nullable V value) Creates aListenableFuturewhich has its value set immediately upon construction.<T> ListenableFuture<T><T> ListenableFuture<T><T> ListenableFuture<T><T> ListenableFuture<T>static <I,O> ListenableFuture<O> Futures.transform(ListenableFuture<I> input, Function<? super I, ? extends O> function, Executor executor) Returns a newFuturewhose result is derived from the result of the givenFuture.static <V> ListenableFuture<V>Futures.withTimeout(ListenableFuture<V> delegate, long time, TimeUnit unit, ScheduledExecutorService scheduledExecutor) Returns a future that delegates to another but will finish early (via aTimeoutExceptionwrapped in anExecutionException) if the specified duration expires.Methods in org.docx4j.com.google.common.util.concurrent with parameters of type ListenableFutureModifier and TypeMethodDescriptionprotected booleanAbstractFuture.setFuture(ListenableFuture<? extends V> future) Sets the result of thisFutureto match the supplied inputFutureonce the suppliedFutureis done, unless thisFuturehas already been cancelled or set (including "set asynchronously," defined below).booleanSettableFuture.setFuture(ListenableFuture<? extends V> future) static <I,O> ListenableFuture<O> Futures.transform(ListenableFuture<I> input, Function<? super I, ? extends O> function, Executor executor) Returns a newFuturewhose result is derived from the result of the givenFuture.static <V> ListenableFuture<V>Futures.withTimeout(ListenableFuture<V> delegate, long time, TimeUnit unit, ScheduledExecutorService scheduledExecutor) Returns a future that delegates to another but will finish early (via aTimeoutExceptionwrapped in anExecutionException) if the specified duration expires.