-
方法概要
double
Obtain the average speed.
double
Obtain the instantaneous speed.
Obtain the upload progress of a specified object.
Obtain the progress of the current uploading task.
long
Obtain the total size of uploaded objects.
long
Obtain the size of transferred data in bytes.
-
方法详细资料
-
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
Obtain the upload progress of a specified object.
- 参数:
key - Object name
- 返回:
- Upload progress of a specified object