Uses of Interface
dev.mccue.guava.concurrent.ClosingFuture.AsyncClosingFunction
-
Uses of ClosingFuture.AsyncClosingFunction in dev.mccue.guava.concurrent
Methods in dev.mccue.guava.concurrent that return ClosingFuture.AsyncClosingFunctionModifier and TypeMethodDescriptionstatic <V extends @Nullable Object,U extends @Nullable Object>
ClosingFuture.AsyncClosingFunction<V,U> ClosingFuture.withoutCloser(AsyncFunction<V, U> function) Returns anAsyncClosingFunctionthat applies anAsyncFunctionto an input, ignoring the DeferredCloser and returning aClosingFuturederived from the returnedListenableFuture.Methods in dev.mccue.guava.concurrent with parameters of type ClosingFuture.AsyncClosingFunctionModifier and TypeMethodDescription<X extends Throwable>
ClosingFuture<V>ClosingFuture.catchingAsync(Class<X> exceptionType, ClosingFuture.AsyncClosingFunction<? super X, ? extends V> fallback, Executor executor) Returns a newClosingFuturepipeline step derived from this one by applying a function that returns aClosingFutureto its exception if it is an instance of a given exception type.<U extends @Nullable Object>
ClosingFuture<U>ClosingFuture.transformAsync(ClosingFuture.AsyncClosingFunction<? super V, U> function, Executor executor) Returns a newClosingFuturepipeline step derived from this one by applying a function that returns aClosingFutureto its value.