public class UploadImpl extends AbstractTransfer implements Upload
Transfer.TransferStatemonitor, progressListenerChain, progressListenerChainCallbackExecutor, state, stateChangeListeners| Constructor and Description |
|---|
UploadImpl(String description,
TransferProgressImpl transferProgressInternalState,
ProgressListenerChain progressListenerChain,
TransferStateChangeListener listener) |
UploadImpl(String description,
TransferProgressImpl transferProgressInternalState,
ProgressListenerChain progressListenerChain,
TransferStateChangeListener listener)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
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, waitForExceptionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddProgressListener, addProgressListener, getDescription, getProgress, getState, isDone, removeProgressListener, removeProgressListener, waitForCompletion, waitForExceptionpublic UploadImpl(String description, TransferProgressImpl transferProgressInternalState, ProgressListenerChain progressListenerChain, TransferStateChangeListener listener)
@Deprecated public UploadImpl(String description, TransferProgressImpl transferProgressInternalState, ProgressListenerChain progressListenerChain, TransferStateChangeListener listener)
UploadImpl(String, TransferProgressImpl, ProgressListenerChain, TransferStateChangeListener)public UploadResult waitForUploadResult() throws AmazonClientException, AmazonServiceException, InterruptedException
waitForUploadResult in interface UploadAmazonClientException - If any errors were encountered in the client while making the
request or handling the response.AmazonServiceException - 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.