Uses of Interface org.apache.hadoop.hdfs.server.federation.router.async.utils.ApplyFunction (Apache Hadoop HDFS-RBF 3.5.0 API)
Description: use: package: org.apache.hadoop.hdfs.server.federation.router.async.utils, interface: ApplyFunction

# Uses of Interface
org.apache.hadoop.hdfs.server.federation.router.async.utils.ApplyFunction

Packages that use ApplyFunction
Package
Description
org.apache.hadoop.hdfs.protocolPB
This package contains the implementation of the Protocol Buffers protocols related to HDFS Router.
org.apache.hadoop.hdfs.server.federation.router.async.utils
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 ApplyFunction
  Modifier and Type
  Method
  Description
  `static <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.utils
  Modifier and Type
  Interface
  Description
  `interface`
  `AsyncApplyFunction<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 ApplyFunction
  Modifier and Type
  Method
  Description
  `static <T, R> void`
  AsyncUtil.`asyncApply(ApplyFunction<T,R> function)`
  Applies an asynchronous function to the current `CompletableFuture`.
  `static <T, R> void`
  AsyncUtil.`asyncApplyUseExecutor(ApplyFunction<T,R> function, Executor executor)`
  Applies an asynchronous function to the current `CompletableFuture` using the specified executor.