Class VolumeUploadCallback

  • All Implemented Interfaces:
    org.apache.hc.core5.concurrent.FutureCallback<org.apache.hc.client5.http.async.methods.SimpleHttpResponse>

    public class VolumeUploadCallback
    extends Object
    implements org.apache.hc.core5.concurrent.FutureCallback<org.apache.hc.client5.http.async.methods.SimpleHttpResponse>
    Unified callback for both file and stream uploads to DBFS volumes. Handles retry logic for failed uploads with exponential backoff.
    • Method Detail

      • completed

        public void completed​(org.apache.hc.client5.http.async.methods.SimpleHttpResponse uploadResult)
        Specified by:
        completed in interface org.apache.hc.core5.concurrent.FutureCallback<org.apache.hc.client5.http.async.methods.SimpleHttpResponse>
      • failed

        public void failed​(Exception ex)
        Specified by:
        failed in interface org.apache.hc.core5.concurrent.FutureCallback<org.apache.hc.client5.http.async.methods.SimpleHttpResponse>
      • cancelled

        public void cancelled()
        Specified by:
        cancelled in interface org.apache.hc.core5.concurrent.FutureCallback<org.apache.hc.client5.http.async.methods.SimpleHttpResponse>