Class InternalAsyncFutureUtils
- java.lang.Object
-
- org.apache.flink.core.asyncprocessing.InternalAsyncFutureUtils
-
@Internal public class InternalAsyncFutureUtils extends Object
A collection of utilities that expand the usage ofAsyncFuture. Only for internal usage.
-
-
Constructor Summary
Constructors Constructor Description InternalAsyncFutureUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <V> InternalAsyncFuture<V>completedFuture(V result)Returns a completed future that does nothing and return provided result.static <V> InternalAsyncFuture<V>completedVoidFuture()Returns a completed future that does nothing and return null.
-
-
-
Method Detail
-
completedVoidFuture
public static <V> InternalAsyncFuture<V> completedVoidFuture()
Returns a completed future that does nothing and return null.
-
completedFuture
public static <V> InternalAsyncFuture<V> completedFuture(V result)
Returns a completed future that does nothing and return provided result.
-
-