Uses of Interface
org.apache.hadoop.hdfs.server.federation.router.async.utils.AsyncBiFunction
Packages that use AsyncBiFunction
Package
Description
This package contains classes that facilitate asynchronous operations within the Hadoop
Distributed File System (HDFS) Federation router.
-
Uses of AsyncBiFunction 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 AsyncBiFunctionModifier and TypeMethodDescriptionAsyncForEachRun.asyncDo(AsyncBiFunction<AsyncForEachRun<I, R>, I, R> asyncDo) Sets the async function to apply to each element from the iterator.static <I,R> void AsyncUtil.asyncForEach(Iterator<I> forEach, AsyncBiFunction<AsyncForEachRun<I, R>, I, R> asyncDo) Executes an asynchronous operation for each element in an Iterator, applying a given async function to each element.