Uses of Interface
org.docx4j.com.google.common.util.concurrent.ListenableFuture
| Package | Description |
|---|---|
| org.docx4j.com.google.common.cache | |
| org.docx4j.com.google.common.util.concurrent |
-
Uses of ListenableFuture in org.docx4j.com.google.common.cache
Methods in org.docx4j.com.google.common.cache that return ListenableFuture Modifier and Type Method Description ListenableFuture<V>CacheLoader. reload(K key, V oldValue)Computes 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.concurrent Modifier and Type Interface Description interfaceListenableScheduledFuture<V>Helper interface to implement bothListenableFutureandScheduledFuture.Classes in org.docx4j.com.google.common.util.concurrent that implement ListenableFuture Modifier and Type Class Description classAbstractFuture<V>An abstract implementation ofListenableFuture, intended for advanced users only.classFluentFuture<V>AListenableFuturethat supports fluent chains of operations.classSettableFuture<V>AListenableFuturewhose 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 ListenableFuture Modifier and Type Method Description ListenableFuture<O>AsyncFunction. apply(@Nullable I input)Returns an outputFutureto use in place of the giveninput.static <V> ListenableFuture<V>Futures. immediateFailedFuture(java.lang.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.ListenableFuture<?>AbstractListeningExecutorService. submit(java.lang.Runnable task)<T> ListenableFuture<T>AbstractListeningExecutorService. submit(java.lang.Runnable task, @Nullable T result)<T> ListenableFuture<T>AbstractListeningExecutorService. submit(java.util.concurrent.Callable<T> task)ListenableFuture<?>ListeningExecutorService. submit(java.lang.Runnable task)<T> ListenableFuture<T>ListeningExecutorService. submit(java.lang.Runnable task, T result)<T> ListenableFuture<T>ListeningExecutorService. submit(java.util.concurrent.Callable<T> task)static <I, O> ListenableFuture<O>Futures. transform(ListenableFuture<I> input, Function<? super I,? extends O> function, java.util.concurrent.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, java.util.concurrent.TimeUnit unit, java.util.concurrent.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 ListenableFuture Modifier and Type Method Description protected 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, java.util.concurrent.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, java.util.concurrent.TimeUnit unit, java.util.concurrent.ScheduledExecutorService scheduledExecutor)Returns a future that delegates to another but will finish early (via aTimeoutExceptionwrapped in anExecutionException) if the specified duration expires.