Package | Description |
---|---|
com.google.common.util.concurrent |
Concurrency utilities.
|
Modifier and Type | Method and Description |
---|---|
<X extends java.lang.Throwable> |
ClosingFuture.catching(java.lang.Class<X> exceptionType,
ClosingFuture.ClosingFunction<? super X,? extends V> fallback,
java.util.concurrent.Executor executor)
Returns a new
ClosingFuture pipeline step derived from this one by applying a function
to its exception if it is an instance of a given exception type. |
<U> ClosingFuture<U> |
ClosingFuture.transform(ClosingFuture.ClosingFunction<? super V,U> function,
java.util.concurrent.Executor executor)
Returns a new
ClosingFuture pipeline step derived from this one by applying a function
to its value. |
Copyright © 2010–2021. All rights reserved.