org.jclouds.aws.s3.blobstore.strategy.internal
Class SequentialMultipartUploadStrategy
java.lang.Object
org.jclouds.aws.s3.blobstore.strategy.internal.SequentialMultipartUploadStrategy
- All Implemented Interfaces:
- MultipartUpload, MultipartUploadStrategy
public class SequentialMultipartUploadStrategy
- extends Object
- implements MultipartUploadStrategy
Provides a sequential multipart upload strategy.
The file partitioning algorithm:
The default partition size we choose is 32mb. A multiple of this default
partition size is used. The number of partCount first grows to a chosen magnitude
(for example 100 partCount), then it grows the partition size instead of number
of partitions. When we reached the maximum part size, then again it starts to
grow the number of partitions.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SequentialMultipartUploadStrategy
@Inject
public SequentialMultipartUploadStrategy(AWSS3Client client,
org.jclouds.s3.blobstore.functions.BlobToObject blobToObject,
MultipartUploadSlicingAlgorithm algorithm,
org.jclouds.io.PayloadSlicer slicer)
execute
public String execute(String container,
org.jclouds.blobstore.domain.Blob blob)
- Specified by:
execute in interface MultipartUploadStrategy
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.