public class CopyImpl extends AbstractTransfer implements Copy
Transfer.TransferState| Constructor and Description |
|---|
CopyImpl(String description,
TransferProgress transferProgress,
ProgressListenerChain progressListenerChain,
TransferStateChangeListener stateChangeListener) |
| Modifier and Type | Method and Description |
|---|---|
CopyResult |
waitForCopyResult()
Waits for this copy operation to complete and returns the result of the
operation.
|
addProgressListener, addProgressListener, addStateChangeListener, getDescription, getMonitor, getProgress, getState, isDone, notifyStateChangeListeners, removeProgressListener, removeProgressListener, removeStateChangeListener, setMonitor, setState, waitForCompletion, waitForExceptionequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddProgressListener, addProgressListener, getDescription, getProgress, getState, isDone, removeProgressListener, removeProgressListener, waitForCompletion, waitForExceptionpublic CopyImpl(String description, TransferProgress transferProgress, ProgressListenerChain progressListenerChain, TransferStateChangeListener stateChangeListener)
public CopyResult waitForCopyResult() throws AmazonClientException, AmazonServiceException, InterruptedException
waitForCopyResult in interface CopyAmazonClientException - 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.