public class UploadImpl extends AbstractTransfer implements Upload
Transfer.TransferState
monitor, progressListenerChain, progressListenerChainCallbackExecutor, state, stateChangeListeners
构造器和说明 |
---|
UploadImpl(String description,
TransferProgressImpl transferProgressInternalState,
ProgressListenerChain progressListenerChain,
TransferStateChangeListener listener) |
UploadImpl(String description,
TransferProgressImpl transferProgressInternalState,
ProgressListenerChain progressListenerChain,
TransferStateChangeListener listener)
|
限定符和类型 | 方法和说明 |
---|---|
UploadResult |
waitForUploadResult()
Waits for this upload to complete and returns the result of this
upload.
|
addProgressListener, addProgressListener, addStateChangeListener, fireProgressEvent, getDescription, getMonitor, getProgress, getState, isDone, notifyStateChangeListeners, removeProgressListener, removeProgressListener, removeStateChangeListener, rethrowExecutionException, setMonitor, setState, unwrapExecutionException, waitForCompletion, waitForException
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addProgressListener, addProgressListener, getDescription, getProgress, getState, isDone, removeProgressListener, removeProgressListener, waitForCompletion, waitForException
public UploadImpl(String description, TransferProgressImpl transferProgressInternalState, ProgressListenerChain progressListenerChain, TransferStateChangeListener listener)
@Deprecated public UploadImpl(String description, TransferProgressImpl transferProgressInternalState, ProgressListenerChain progressListenerChain, TransferStateChangeListener listener)
public UploadResult waitForUploadResult() throws SCSClientException, SCSServiceException, InterruptedException
waitForUploadResult
在接口中 Upload
SCSClientException
- If any errors were encountered in the client while making the
request or handling the response.SCSServiceException
- If any errors occurred in Amazon S3 while processing the
request.InterruptedException
- If this thread is interrupted while waiting for the upload to
complete.Copyright © 2016. All rights reserved.