ClosingFuture<U> |
ClosingFuture.AsyncClosingFunction.apply(ClosingFuture.DeferredCloser closer,
T input) |
Applies this function to an input, or throws an exception if unable to do so.
|
ClosingFuture<U> |
ClosingFuture.Combiner2.AsyncClosingFunction2.apply(ClosingFuture.DeferredCloser closer,
V1 value1,
V2 value2) |
Applies this function to two inputs, or throws an exception if unable to do so.
|
ClosingFuture<U> |
ClosingFuture.Combiner3.AsyncClosingFunction3.apply(ClosingFuture.DeferredCloser closer,
V1 value1,
V2 value2,
V3 value3) |
Applies this function to three inputs, or throws an exception if unable to do so.
|
ClosingFuture<U> |
ClosingFuture.Combiner4.AsyncClosingFunction4.apply(ClosingFuture.DeferredCloser closer,
V1 value1,
V2 value2,
V3 value3,
V4 value4) |
Applies this function to four inputs, or throws an exception if unable to do so.
|
ClosingFuture<U> |
ClosingFuture.Combiner5.AsyncClosingFunction5.apply(ClosingFuture.DeferredCloser closer,
V1 value1,
V2 value2,
V3 value3,
V4 value4,
V5 value5) |
Applies this function to five inputs, or throws an exception if unable to do so.
|
ClosingFuture<V> |
ClosingFuture.AsyncClosingCallable.call(ClosingFuture.DeferredCloser closer) |
Computes a result, or throws an exception if unable to do so.
|
ClosingFuture<V> |
ClosingFuture.Combiner.AsyncCombiningCallable.call(ClosingFuture.DeferredCloser closer,
ClosingFuture.Peeker peeker) |
Computes a ClosingFuture result, or throws an exception if unable to do so.
|
<V extends @Nullable java.lang.Object> ClosingFuture<V> |
ClosingFuture.Combiner.call(ClosingFuture.Combiner.CombiningCallable<V> combiningCallable,
java.util.concurrent.Executor executor) |
Returns a new ClosingFuture pipeline step derived from the inputs by applying a
combining function to their values.
|
<U extends @Nullable java.lang.Object> ClosingFuture<U> |
ClosingFuture.Combiner2.call(ClosingFuture.Combiner2.ClosingFunction2<V1,V2,U> function,
java.util.concurrent.Executor executor) |
Returns a new ClosingFuture pipeline step derived from the inputs by applying a
combining function to their values.
|
<U extends @Nullable java.lang.Object> ClosingFuture<U> |
ClosingFuture.Combiner3.call(ClosingFuture.Combiner3.ClosingFunction3<V1,V2,V3,U> function,
java.util.concurrent.Executor executor) |
Returns a new ClosingFuture pipeline step derived from the inputs by applying a
combining function to their values.
|
<U extends @Nullable java.lang.Object> ClosingFuture<U> |
ClosingFuture.Combiner4.call(ClosingFuture.Combiner4.ClosingFunction4<V1,V2,V3,V4,U> function,
java.util.concurrent.Executor executor) |
Returns a new ClosingFuture pipeline step derived from the inputs by applying a
combining function to their values.
|
<U extends @Nullable java.lang.Object> ClosingFuture<U> |
ClosingFuture.Combiner5.call(ClosingFuture.Combiner5.ClosingFunction5<V1,V2,V3,V4,V5,U> function,
java.util.concurrent.Executor executor) |
Returns a new ClosingFuture pipeline step derived from the inputs by applying a
combining function to their values.
|
<V extends @Nullable java.lang.Object> ClosingFuture<V> |
ClosingFuture.Combiner.callAsync(ClosingFuture.Combiner.AsyncCombiningCallable<V> combiningCallable,
java.util.concurrent.Executor executor) |
Returns a new ClosingFuture pipeline step derived from the inputs by applying a
ClosingFuture -returning function to their values.
|
<U extends @Nullable java.lang.Object> ClosingFuture<U> |
ClosingFuture.Combiner2.callAsync(ClosingFuture.Combiner2.AsyncClosingFunction2<V1,V2,U> function,
java.util.concurrent.Executor executor) |
Returns a new ClosingFuture pipeline step derived from the inputs by applying a
ClosingFuture -returning function to their values.
|
<U extends @Nullable java.lang.Object> ClosingFuture<U> |
ClosingFuture.Combiner3.callAsync(ClosingFuture.Combiner3.AsyncClosingFunction3<V1,V2,V3,U> function,
java.util.concurrent.Executor executor) |
Returns a new ClosingFuture pipeline step derived from the inputs by applying a
ClosingFuture -returning function to their values.
|
<U extends @Nullable java.lang.Object> ClosingFuture<U> |
ClosingFuture.Combiner4.callAsync(ClosingFuture.Combiner4.AsyncClosingFunction4<V1,V2,V3,V4,U> function,
java.util.concurrent.Executor executor) |
Returns a new ClosingFuture pipeline step derived from the inputs by applying a
ClosingFuture -returning function to their values.
|
<U extends @Nullable java.lang.Object> ClosingFuture<U> |
ClosingFuture.Combiner5.callAsync(ClosingFuture.Combiner5.AsyncClosingFunction5<V1,V2,V3,V4,V5,U> function,
java.util.concurrent.Executor executor) |
Returns a new ClosingFuture pipeline step derived from the inputs by applying a
ClosingFuture -returning function to their values.
|
<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 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.
|
<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 new ClosingFuture pipeline step derived from this one by applying a function
that returns a ClosingFuture to its exception if it is an instance of a given exception
type.
|
static <C extends @Nullable java.lang.Object & @Nullable java.lang.AutoCloseable> ClosingFuture<C> |
ClosingFuture.eventuallyClosing(ListenableFuture<C> future,
java.util.concurrent.Executor closingExecutor) |
Deprecated.
|
static <V extends @Nullable java.lang.Object> ClosingFuture<V> |
ClosingFuture.from(ListenableFuture<V> future) |
|
static <V extends @Nullable java.lang.Object> ClosingFuture<V> |
ClosingFuture.submit(ClosingFuture.ClosingCallable<V> callable,
java.util.concurrent.Executor executor) |
Starts a ClosingFuture pipeline by submitting a callable block to an executor.
|
static <V extends @Nullable java.lang.Object> ClosingFuture<V> |
ClosingFuture.submitAsync(ClosingFuture.AsyncClosingCallable<V> callable,
java.util.concurrent.Executor executor) |
Starts a ClosingFuture pipeline by submitting a callable block to an executor.
|
<U extends @Nullable java.lang.Object> 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.
|
<U extends @Nullable java.lang.Object> ClosingFuture<U> |
ClosingFuture.transformAsync(ClosingFuture.AsyncClosingFunction<? super V,U> function,
java.util.concurrent.Executor executor) |
Returns a new ClosingFuture pipeline step derived from this one by applying a function
that returns a ClosingFuture to its value.
|