Interface AsyncCompletionHandler<T>

Type Parameters:
T - the type of a successful completion

@Deprecated(since="2021-05-27") public interface AsyncCompletionHandler<T>
Deprecated.
Usage of this API is not supported in AEM as a Cloud Service.
Completion handler for asynchronous I/O.
Since:
3.0
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Deprecated.
    Invoked when an operation has completed.
    void
    Deprecated.
    Invoked when an operation fails.
  • Method Details

    • completed

      void completed(T t)
      Deprecated.
      Invoked when an operation has completed.
      Parameters:
      t - the result of the completed operation
    • failed

      void failed(Throwable t)
      Deprecated.
      Invoked when an operation fails.
      Parameters:
      t - the exception that describes the failure