public class SequentialMultipartUploadStrategy extends Object implements MultipartUploadStrategy
Modifier and Type | Field and Description |
---|---|
protected AWSS3BlobStore |
ablobstore |
protected Logger |
logger |
protected PayloadSlicer |
slicer |
MAX_LIST_MPU_RETURNED, MAX_LIST_PARTS_RETURNED, MAX_NUMBER_OF_PARTS, MAX_PART_SIZE, MIN_PART_SIZE
Constructor and Description |
---|
SequentialMultipartUploadStrategy(AWSS3BlobStore ablobstore,
PayloadSlicer slicer) |
@Named(value="jclouds.blobstore") protected Logger logger
protected final AWSS3BlobStore ablobstore
protected final PayloadSlicer slicer
@Inject public SequentialMultipartUploadStrategy(AWSS3BlobStore ablobstore, PayloadSlicer slicer)
protected void prepareUploadPart(String container, String key, String uploadId, int part, Payload payload, long offset, long size, SortedMap<Integer,String> etags)
public String execute(String container, Blob blob, PutOptions options)
execute
in interface MultipartUploadStrategy
Copyright © 2009-2013 jclouds. All Rights Reserved.