Interface OfflineCallback<R>

Type Parameters:
R - The type of the result.

public interface OfflineCallback<R>
This interface is used to provide a result from the AbstractOfflineCatalog asynchronous methods
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onFailure(Throwable throwable)
    Called when an error has happened while executing the operation.
    void
    onSuccess(R result)
    Called when the operation has completed successfully.
  • Method Details

    • onSuccess

      void onSuccess(R result)
      Called when the operation has completed successfully.
      Parameters:
      result - The result of the operation.
    • onFailure

      void onFailure(Throwable throwable)
      Called when an error has happened while executing the operation.
      Parameters:
      throwable - Error returned to specify the reason of the failure.