JCLOUDS-894: Fake portable multipart upload for Glacier

This commit is contained in:
Andrew Gaul 2015-06-07 22:50:38 -07:00
parent 2ed3472137
commit 1c7e3f6ce8
1 changed files with 3 additions and 2 deletions

View File

@ -54,6 +54,7 @@ import org.jclouds.glacier.blobstore.strategy.PollingStrategy;
import org.jclouds.glacier.domain.ArchiveRetrievalJobRequest;
import org.jclouds.glacier.util.ContentRange;
import org.jclouds.io.Payload;
import org.jclouds.io.PayloadSlicer;
import org.jclouds.javax.annotation.Nullable;
import com.google.common.base.Predicate;
@ -81,12 +82,12 @@ public class GlacierBlobStore extends BaseBlobStore {
@Inject
GlacierBlobStore(BlobStoreContext context, BlobUtils blobUtils, Supplier<Location> defaultLocation,
@Memoized Supplier<Set<? extends Location>> locations, GlacierClient sync,
@Memoized Supplier<Set<? extends Location>> locations, PayloadSlicer slicer, GlacierClient sync,
Provider<MultipartUploadStrategy> multipartUploadStrategy,
Provider<PollingStrategy> pollingStrategy,
PaginatedVaultCollectionToStorageMetadata vaultsToContainers,
ArchiveMetadataCollectionToStorageMetadata archivesToBlobs, ListContainerOptionsToInventoryRetrievalJobRequest containerOptionsToInventoryRetrieval) {
super(context, blobUtils, defaultLocation, locations);
super(context, blobUtils, defaultLocation, locations, slicer);
this.containerOptionsToInventoryRetrieval = checkNotNull(containerOptionsToInventoryRetrieval,
"containerOptionsToInventoryRetrieval");
this.archivesToBlobs = checkNotNull(archivesToBlobs, "archivesToBlobs");