接口 UploadProgressStatus

所有超级接口:
TaskProgressStatus

public interface UploadProgressStatus extends TaskProgressStatus
  • 方法详细资料

    • getTotalSize

      long getTotalSize()
      Obtain the total size of uploaded objects.
      返回:
      Total size of uploaded objects. The value -1 indicates that the total size is still being calculated.
    • getTransferredSize

      long getTransferredSize()
      Obtain the size of transferred data in bytes.
      返回:
      Size of data in bytes that have been transferred
    • getInstantaneousSpeed

      double getInstantaneousSpeed()
      Obtain the instantaneous speed.
      返回:
      Instantaneous speed
    • getAverageSpeed

      double getAverageSpeed()
      Obtain the average speed.
      返回:
      Average speed
    • getTaskTable

      Obtain the progress of the current uploading task.
      返回:
      taskTable Progress of the current uploading task
    • getTaskStatus

      ProgressStatus getTaskStatus(String key)
      Obtain the upload progress of a specified object.
      参数:
      key - Object name
      返回:
      Upload progress of a specified object