org.apache.hadoop.hdfs.server.federation.router.async.utils (Apache Hadoop HDFS-RBF 3.5.0 API)
Description: declaration: package: org.apache.hadoop.hdfs.server.federation.router.async.utils

# Package org.apache.hadoop.hdfs.server.federation.router.async.utils

@Private @Evolving package 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. These classes are designed to work with the Hadoop ecosystem, providing utilities and interfaces to perform non-blocking tasks that can improve the performance and responsiveness of HDFS operations.

These classes work together to enable complex asynchronous workflows, making it easier to write code that can handle long-running tasks without blocking, thus improving the overall efficiency and scalability of HDFS operations.

- Related Packages
  Package
  Description
  org.apache.hadoop.hdfs.server.federation.router.async
  This package contains classes that facilitate asynchronous operations within the Hadoop Distributed File System (HDFS) Federation router.
- Class
  Description
  ApplyFunction<T,R>
  Represents a function that accepts a value of type T and produces a result of type R.
  Async<R>
  An interface for asynchronous operations, providing utility methods and constants related to asynchronous computations.
  AsyncApplyFunction<T,R>
  The AsyncApplyFunction interface represents a function that asynchronously accepts a value of type T and produces a result of type R.
  AsyncBiFunction<T,P,R>
  The `AsyncBiFunction` interface represents a bi-function that asynchronously accepts two arguments and produces a result.
  AsyncCatchFunction<R,E extends Throwable>
  The AsyncCatchFunction interface represents a function that handles exceptions occurring within an asynchronous operation.
  AsyncForEachRun<I,R>
  The AsyncForEachRun class is part of the asynchronous operation utilities within the Hadoop Distributed File System (HDFS) Federation router.
  AsyncRun<R>
  The AsyncRun interface represents an asynchronous operation that can be executed in the context of the Hadoop Distributed File System (HDFS) Federation router.
  AsyncUtil
  The AsyncUtil class provides a collection of utility methods to simplify the implementation of asynchronous operations using Java's CompletableFuture.
  CatchFunction<R,E extends Throwable>
  The `CatchFunction` interface represents a function that handles exceptions occurring within an asynchronous operation.
  FinallyFunction<R>
  The `FinallyFunction` interface represents a function that is used to perform final actions after an asynchronous operation completes, regardless of whether the operation was successful or resulted in an exception.