library/src/main/java/com/kdgregory/aws/utils/s3/MultipartUpload.java
/**
     *  Aborts the upload. Attempts to cancel any outstanding tasks.
     *
     *  This runs on the calling thread.
     */
Aborts the upload. Attempts to cancel any outstanding tasks.
This runs on the calling thread.
Aborts the upload . Attempts to cancel any outstanding tasks . This runs on the calling thread .
public void abort()
    {
        logger.debug("aborting multi-part upload for s3://" + bucket + "/" + key);
        for (Future<PartETag> future : futures)
        {
            future.cancel(true);
        }
        AbortMultipartUploadRequest request = new AbortMultipartUploadRequest(bucket, key, uploadId);
        client.abortMultipartUpload(request);
        logger.debug("aborted multi-part upload for s3://" + bucket + "/" + key);
    }
public void abort ( ) { logger . debug ( "aborting multi-part upload for s3://" + bucket + "/" + key ) ; for ( Future < PartETag > future : futures ) { future . cancel ( true ) ; } AbortMultipartUploadRequest request = new AbortMultipartUploadRequest ( bucket , key , uploadId ) ; client . abortMultipartUpload ( request ) ; logger . debug ( "aborted multi-part upload for s3://" + bucket + "/" + key ) ; }
Aborts the upload.
Aborts the upload .