Uses of Interface
com.google.common.util.concurrent.ClosingFuture.ClosingFunction
-
Uses of ClosingFuture.ClosingFunction in com.google.common.util.concurrent
Modifier and TypeMethodDescription<X extends Throwable>
ClosingFuture<V> ClosingFuture.catching
(Class<X> exceptionType, ClosingFuture.ClosingFunction<? super X, ? extends V> fallback, Executor executor) Returns a newClosingFuture
pipeline step derived from this one by applying a function to its exception if it is an instance of a given exception type.<U extends @Nullable Object>
ClosingFuture<U> ClosingFuture.transform
(ClosingFuture.ClosingFunction<? super V, U> function, Executor executor) Returns a newClosingFuture
pipeline step derived from this one by applying a function to its value.