Uses of Interface
com.google.common.util.concurrent.ClosingFuture.AsyncClosingFunction
-
Packages that use ClosingFuture.AsyncClosingFunction Package Description com.google.common.util.concurrent Concurrency utilities. -
-
Uses of ClosingFuture.AsyncClosingFunction in com.google.common.util.concurrent
Methods in com.google.common.util.concurrent that return ClosingFuture.AsyncClosingFunction Modifier and Type Method Description static <V extends @Nullable java.lang.Object,U extends @Nullable java.lang.Object>
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.AsyncClosingFunction Modifier and Type Method Description <X extends java.lang.Throwable>
ClosingFuture<V>ClosingFuture. catchingAsync(java.lang.Class<X> exceptionType, ClosingFuture.AsyncClosingFunction<? super X,? extends V> fallback, java.util.concurrent.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.<U extends @Nullable java.lang.Object>
ClosingFuture<U>ClosingFuture. transformAsync(ClosingFuture.AsyncClosingFunction<? super V,U> function, java.util.concurrent.Executor executor)
Returns a newClosingFuture
pipeline step derived from this one by applying a function that returns aClosingFuture
to its value.
-