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, waitForException
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addProgressListener, addProgressListener, getDescription, getProgress, getState, isDone, removeProgressListener, removeProgressListener, waitForCompletion, waitForException
public CopyImpl(String description, TransferProgress transferProgress, ProgressListenerChain progressListenerChain, TransferStateChangeListener stateChangeListener)
public CopyResult waitForCopyResult() throws AmazonClientException, AmazonServiceException, InterruptedException
waitForCopyResult
in interface Copy
AmazonClientException
- 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 © 2013 Amazon Web Services, Inc. All Rights Reserved.