Uses of Class
org.apache.hadoop.hdfs.server.federation.router.async.utils.AsyncForEachRun
Packages that use AsyncForEachRun
Package
Description
This package contains classes that facilitate asynchronous operations within the Hadoop
Distributed File System (HDFS) Federation router.
-
Uses of AsyncForEachRun in org.apache.hadoop.hdfs.server.federation.router.async.utils
Methods in org.apache.hadoop.hdfs.server.federation.router.async.utils that return AsyncForEachRunModifier and TypeMethodDescriptionAsyncForEachRun.asyncDo(AsyncBiFunction<AsyncForEachRun<I, R>, I, R> asyncDo) Sets the async function to apply to each element from the iterator.Sets the Iterator for the elements to be processed in the asynchronous operation.Method parameters in org.apache.hadoop.hdfs.server.federation.router.async.utils with type arguments of type AsyncForEachRunModifier 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.