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 TypeMethodDescriptionprivate ListenableFuture<V>LocalCache.LoadingValueReference.fullyFailedFuture(Throwable t) (package private) ListenableFuture<V>LocalCache.Segment.loadAsync(K key, int hash, LocalCache.LoadingValueReference<K, V> loadingValueReference, CacheLoader<? super K, V> loader) LocalCache.LoadingValueReference.loadFuture(K key, CacheLoader<? super K, V> loader) Computes or retrieves a replacement value corresponding to an already-cachedkey.Methods in org.docx4j.com.google.common.cache with parameters of type ListenableFutureModifier and TypeMethodDescription(package private) VLocalCache.Segment.getAndRecordStats(K key, int hash, LocalCache.LoadingValueReference<K, V> loadingValueReference, ListenableFuture<V> newValue) Waits uninterruptibly fornewValueto be loaded, and then records loading stats. -
Uses of ListenableFuture in org.docx4j.com.google.common.util.concurrent
Subinterfaces of ListenableFuture in org.docx4j.com.google.common.util.concurrentModifier and TypeInterfaceDescription(package private) static interfaceTag interface marking trusted subclasses.interfaceHelper 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.(package private) static classA less abstract subclass of AbstractFuture.(package private) classAbstractTransformFuture<I,O, F, T> Implementations ofFutures.transform*.private static final classAnAbstractTransformFuturethat delegates to anAsyncFunctionandAbstractFuture.setFuture(ListenableFuture).private static final classclassFluentFuture<V>AListenableFuturethat supports fluent chains of operations.(package private) static classA less abstract subclass of AbstractFuture.(package private) classHidden superclass ofFluentFuturethat provides us a place to declare special GWT versions of theFluentFuture.catchingfamily of methods.(package private) classImplementations ofFutures.immediate*.(package private) static final class(package private) static final class(package private) static classfinal classAListenableFuturewhose result can be set by aSettableFuture.set(Object),SettableFuture.setException(Throwable)orSettableFuture.setFuture(ListenableFuture)call.(package private) final classImplementation ofFutures#withTimeout.Fields in org.docx4j.com.google.common.util.concurrent declared as ListenableFutureModifier and TypeFieldDescriptionprivate @Nullable ListenableFuture<V>TimeoutFuture.delegateRef(package private) final ListenableFuture<? extends V>AbstractFuture.SetFuture.future(package private) @Nullable ListenableFuture<? extends I>AbstractTransformFuture.inputFutureMethods in org.docx4j.com.google.common.util.concurrent that return ListenableFutureModifier and TypeMethodDescriptionReturns an outputFutureto use in place of the giveninput.(package private) static <I,O> ListenableFuture<O> AbstractTransformFuture.create(ListenableFuture<I> input, Function<? super I, ? extends O> function, Executor executor) (package private) static <V> ListenableFuture<V>TimeoutFuture.create(ListenableFuture<V> delegate, long time, TimeUnit unit, ScheduledExecutorService scheduledExecutor) (package private) ListenableFuture<? extends O>AbstractTransformFuture.AsyncTransformFuture.doTransform(AsyncFunction<? super I, ? extends O> function, @Nullable I input) 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>private static <T> ListenableFuture<T>MoreExecutors.submitAndAddQueueListener(ListeningExecutorService executorService, Callable<T> task, BlockingQueue<Future<T>> queue) Submits the task and adds a listener that adds the future toqueuewhen it completes.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 TypeMethodDescription(package private) static <I,O> ListenableFuture<O> AbstractTransformFuture.create(ListenableFuture<I> input, Function<? super I, ? extends O> function, Executor executor) (package private) static <V> ListenableFuture<V>TimeoutFuture.create(ListenableFuture<V> delegate, long time, TimeUnit unit, ScheduledExecutorService scheduledExecutor) private static ObjectAbstractFuture.getFutureValue(ListenableFuture<?> future) Returns a value that satisfies the contract of theAbstractFuture.valuefield based on the state of given future.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) (package private) voidAbstractTransformFuture.AsyncTransformFuture.setResult(ListenableFuture<? extends O> result) 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.Constructors in org.docx4j.com.google.common.util.concurrent with parameters of type ListenableFutureModifierConstructorDescription(package private)AbstractTransformFuture(ListenableFuture<? extends I> inputFuture, F function) (package private)AsyncTransformFuture(ListenableFuture<? extends I> inputFuture, AsyncFunction<? super I, ? extends O> function) (package private)SetFuture(AbstractFuture<V> owner, ListenableFuture<? extends V> future) privateTimeoutFuture(ListenableFuture<V> delegate) (package private)TransformFuture(ListenableFuture<? extends I> inputFuture, Function<? super I, ? extends O> function)