Uses of Interface
com.google.common.util.concurrent.ClosingFuture.AsyncClosingFunction
Packages that use ClosingFuture.AsyncClosingFunction
-
Uses of ClosingFuture.AsyncClosingFunction in com.google.common.util.concurrent
Methods in com.google.common.util.concurrent that return ClosingFuture.AsyncClosingFunctionModifier and TypeMethodDescriptionstatic <V,
U> ClosingFuture.AsyncClosingFunction <V, U> ClosingFuture.withoutCloser
(AsyncFunction<V, U> function) Returns anClosingFuture.AsyncClosingFunction
that applies anAsyncFunction
to an input, ignoring the DeferredCloser and returning aClosingFuture
derived from the returnedListenableFuture
.Methods in com.google.common.util.concurrent with parameters of type ClosingFuture.AsyncClosingFunctionModifier and TypeMethodDescription(package private) <V,
U> FluentFuture <U> ClosingFuture.CloseableList.applyAsyncClosingFunction
(ClosingFuture.AsyncClosingFunction<V, U> transformation, V input) <X extends Throwable>
ClosingFuture<V> ClosingFuture.catchingAsync
(Class<X> exceptionType, ClosingFuture.AsyncClosingFunction<? super X, ? extends V> fallback, Executor executor) Returns a newClosingFuture
pipeline step derived from this one by applying a function that returns aClosingFuture
to its exception if it is an instance of a given exception type.private <X extends Throwable,
W extends V>
ClosingFuture<V> ClosingFuture.catchingAsyncMoreGeneric
(Class<X> exceptionType, ClosingFuture.AsyncClosingFunction<? super X, W> fallback, Executor executor) <U> ClosingFuture
<U> ClosingFuture.transformAsync
(ClosingFuture.AsyncClosingFunction<? super V, U> function, Executor executor) Returns a newClosingFuture
pipeline step derived from this one by applying a function that returns aClosingFuture
to its value.