com.netease.cloud.services.nos.transfer
public interface Upload extends Transfer
See TransferManager
for more information about creating transfers.
Transfer.TransferState
Modifier and Type | Method and Description |
---|---|
UploadResult |
waitForUploadResult()
Waits for this upload to complete and returns the result of this upload.
|
addProgressListener, getDescription, getProgress, getState, isDone, removeProgressListener, waitForCompletion, waitForException
UploadResult waitForUploadResult() throws ClientException, ServiceException, InterruptedException
ClientException
- If any errors were encountered in the client while making the
request or handling the response.ServiceException
- If any errors occurred in Nos while processing the request.InterruptedException
- If this thread is interrupted while waiting for the upload to
complete.Copyright © 2017. All Rights Reserved.