Uses of Interface
org.apache.hadoop.hdfs.server.federation.router.async.utils.AsyncApplyFunction
Packages that use AsyncApplyFunction
Package
Description
This package contains classes that facilitate asynchronous operations within the Hadoop
Distributed File System (HDFS) Federation router.
-
Uses of AsyncApplyFunction in org.apache.hadoop.hdfs.server.federation.router.async.utils
Methods in org.apache.hadoop.hdfs.server.federation.router.async.utils with parameters of type AsyncApplyFunctionModifier and TypeMethodDescriptionstatic <I,R, P> void AsyncUtil.asyncCurrent(Collection<I> collection, AsyncApplyFunction<I, R> asyncDo, Function<CompletableFuture<R>[], P> then) Applies an asynchronous operation to each element of a collection and aggregates the results.