Uses of Interface
org.apache.hadoop.hdfs.server.federation.router.async.utils.ApplyFunction
Packages that use ApplyFunction
Package
Description
This package contains the implementation of the Protocol Buffers
protocols related to HDFS Router.
This package contains classes that facilitate asynchronous operations within the Hadoop
Distributed File System (HDFS) Federation router.
-
Uses of ApplyFunction in org.apache.hadoop.hdfs.protocolPB
Methods in org.apache.hadoop.hdfs.protocolPB with parameters of type ApplyFunctionModifier and TypeMethodDescriptionstatic <T,R> R AsyncRpcProtocolPBUtil.asyncIpcClient(org.apache.hadoop.ipc.internal.ShadedProtobufHelper.IpcCall<T> call, ApplyFunction<T, R> response, Class<R> clazz) Asynchronously invokes an RPC call and applies a response transformation function to the result. -
Uses of ApplyFunction in org.apache.hadoop.hdfs.server.federation.router.async.utils
Subinterfaces of ApplyFunction in org.apache.hadoop.hdfs.server.federation.router.async.utilsModifier and TypeInterfaceDescriptioninterfaceAsyncApplyFunction<T,R> The AsyncApplyFunction interface represents a function that asynchronously accepts a value of type T and produces a result of type R.Methods in org.apache.hadoop.hdfs.server.federation.router.async.utils with parameters of type ApplyFunctionModifier and TypeMethodDescriptionstatic <T,R> void AsyncUtil.asyncApply(ApplyFunction<T, R> function) Applies an asynchronous function to the currentCompletableFuture.static <T,R> void AsyncUtil.asyncApplyUseExecutor(ApplyFunction<T, R> function, Executor executor) Applies an asynchronous function to the currentCompletableFutureusing the specified executor.