JCLOUDS-457: BlobStore MultiPartUpload strategy
authorRoman Coedo <romancoedo@gmail.com>
Fri, 18 Jul 2014 23:47:14 +0000 (01:47 +0200)
committerAndrew Gaul <gaul@apache.org>
Sun, 20 Jul 2014 22:00:35 +0000 (15:00 -0700)
commit244f50edc251153f4233125498d4c3ca06193354
treefddf8c41620111a764ae77b0f99e9ef36fcf9b64
parentf7d2319ce04950ed989d2751407173c0f58af645
JCLOUDS-457: BlobStore MultiPartUpload strategy

The code related to the MultiPartUpload strategy has been added.
MultiPart uploads use an upload strategy (e.g. sequential vs parallel)
and also a slicing strategy to split the payload in different parts.
glacier/src/main/java/org/jclouds/glacier/blobstore/GlacierBlobStore.java
glacier/src/main/java/org/jclouds/glacier/blobstore/config/GlacierBlobStoreContextModule.java
glacier/src/main/java/org/jclouds/glacier/blobstore/strategy/MultipartUploadStrategy.java [new file with mode: 0644]
glacier/src/main/java/org/jclouds/glacier/blobstore/strategy/PayloadSlice.java [new file with mode: 0644]
glacier/src/main/java/org/jclouds/glacier/blobstore/strategy/SlicingStrategy.java [new file with mode: 0644]
glacier/src/main/java/org/jclouds/glacier/blobstore/strategy/internal/BaseSlicingStrategy.java [new file with mode: 0644]
glacier/src/main/java/org/jclouds/glacier/blobstore/strategy/internal/SequentialMultipartUploadStrategy.java [new file with mode: 0644]
glacier/src/test/java/org/jclouds/glacier/blobstore/strategy/internal/BaseSlicingStrategyTest.java [new file with mode: 0644]
glacier/src/test/java/org/jclouds/glacier/blobstore/strategy/internal/MultipartUploadStrategyMockTest.java [new file with mode: 0644]