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