mirror of https://github.com/apache/jclouds.git
Merge pull request #732 from andrewgaul/local-blobstore-constructors
Shuffle blobstore parameters to match superclass
This commit is contained in:
commit
682f047bad
|
@ -69,7 +69,6 @@ import org.jclouds.blobstore.domain.StorageMetadata;
|
||||||
import org.jclouds.blobstore.domain.StorageType;
|
import org.jclouds.blobstore.domain.StorageType;
|
||||||
import org.jclouds.blobstore.domain.internal.MutableStorageMetadataImpl;
|
import org.jclouds.blobstore.domain.internal.MutableStorageMetadataImpl;
|
||||||
import org.jclouds.blobstore.domain.internal.PageSetImpl;
|
import org.jclouds.blobstore.domain.internal.PageSetImpl;
|
||||||
import org.jclouds.blobstore.functions.HttpGetOptionsListToGetOptions;
|
|
||||||
import org.jclouds.blobstore.internal.BaseAsyncBlobStore;
|
import org.jclouds.blobstore.internal.BaseAsyncBlobStore;
|
||||||
import org.jclouds.blobstore.options.CreateContainerOptions;
|
import org.jclouds.blobstore.options.CreateContainerOptions;
|
||||||
import org.jclouds.blobstore.options.GetOptions;
|
import org.jclouds.blobstore.options.GetOptions;
|
||||||
|
@ -117,7 +116,6 @@ public class FilesystemAsyncBlobStore extends BaseAsyncBlobStore {
|
||||||
|
|
||||||
protected final DateService dateService;
|
protected final DateService dateService;
|
||||||
protected final Crypto crypto;
|
protected final Crypto crypto;
|
||||||
protected final HttpGetOptionsListToGetOptions httpGetOptionsConverter;
|
|
||||||
protected final ContentMetadataCodec contentMetadataCodec;
|
protected final ContentMetadataCodec contentMetadataCodec;
|
||||||
protected final IfDirectoryReturnNameStrategy ifDirectoryReturnName;
|
protected final IfDirectoryReturnNameStrategy ifDirectoryReturnName;
|
||||||
protected final Factory blobFactory;
|
protected final Factory blobFactory;
|
||||||
|
@ -125,20 +123,18 @@ public class FilesystemAsyncBlobStore extends BaseAsyncBlobStore {
|
||||||
|
|
||||||
@Inject
|
@Inject
|
||||||
protected FilesystemAsyncBlobStore(BlobStoreContext context,
|
protected FilesystemAsyncBlobStore(BlobStoreContext context,
|
||||||
DateService dateService, Crypto crypto,
|
|
||||||
HttpGetOptionsListToGetOptions httpGetOptionsConverter,
|
|
||||||
ContentMetadataCodec contentMetadataCodec,
|
|
||||||
IfDirectoryReturnNameStrategy ifDirectoryReturnName,
|
|
||||||
BlobUtils blobUtils,
|
BlobUtils blobUtils,
|
||||||
@Named(Constants.PROPERTY_USER_THREADS) ExecutorService service,
|
@Named(Constants.PROPERTY_USER_THREADS) ExecutorService service,
|
||||||
Supplier<Location> defaultLocation,
|
Supplier<Location> defaultLocation,
|
||||||
@Memoized Supplier<Set<? extends Location>> locations,
|
@Memoized Supplier<Set<? extends Location>> locations,
|
||||||
|
DateService dateService, Crypto crypto,
|
||||||
|
ContentMetadataCodec contentMetadataCodec,
|
||||||
|
IfDirectoryReturnNameStrategy ifDirectoryReturnName,
|
||||||
Factory blobFactory, LocalStorageStrategy storageStrategy) {
|
Factory blobFactory, LocalStorageStrategy storageStrategy) {
|
||||||
super(context, blobUtils, service, defaultLocation, locations);
|
super(context, blobUtils, service, defaultLocation, locations);
|
||||||
this.blobFactory = blobFactory;
|
this.blobFactory = blobFactory;
|
||||||
this.dateService = dateService;
|
this.dateService = dateService;
|
||||||
this.crypto = crypto;
|
this.crypto = crypto;
|
||||||
this.httpGetOptionsConverter = httpGetOptionsConverter;
|
|
||||||
this.contentMetadataCodec = contentMetadataCodec;
|
this.contentMetadataCodec = contentMetadataCodec;
|
||||||
this.ifDirectoryReturnName = ifDirectoryReturnName;
|
this.ifDirectoryReturnName = ifDirectoryReturnName;
|
||||||
this.storageStrategy = storageStrategy;
|
this.storageStrategy = storageStrategy;
|
||||||
|
|
|
@ -66,7 +66,6 @@ import org.jclouds.blobstore.domain.StorageMetadata;
|
||||||
import org.jclouds.blobstore.domain.StorageType;
|
import org.jclouds.blobstore.domain.StorageType;
|
||||||
import org.jclouds.blobstore.domain.internal.MutableStorageMetadataImpl;
|
import org.jclouds.blobstore.domain.internal.MutableStorageMetadataImpl;
|
||||||
import org.jclouds.blobstore.domain.internal.PageSetImpl;
|
import org.jclouds.blobstore.domain.internal.PageSetImpl;
|
||||||
import org.jclouds.blobstore.functions.HttpGetOptionsListToGetOptions;
|
|
||||||
import org.jclouds.blobstore.internal.BaseAsyncBlobStore;
|
import org.jclouds.blobstore.internal.BaseAsyncBlobStore;
|
||||||
import org.jclouds.blobstore.options.CreateContainerOptions;
|
import org.jclouds.blobstore.options.CreateContainerOptions;
|
||||||
import org.jclouds.blobstore.options.GetOptions;
|
import org.jclouds.blobstore.options.GetOptions;
|
||||||
|
@ -115,7 +114,6 @@ public class TransientAsyncBlobStore extends BaseAsyncBlobStore {
|
||||||
|
|
||||||
protected final DateService dateService;
|
protected final DateService dateService;
|
||||||
protected final Crypto crypto;
|
protected final Crypto crypto;
|
||||||
protected final HttpGetOptionsListToGetOptions httpGetOptionsConverter;
|
|
||||||
protected final ContentMetadataCodec contentMetadataCodec;
|
protected final ContentMetadataCodec contentMetadataCodec;
|
||||||
protected final IfDirectoryReturnNameStrategy ifDirectoryReturnName;
|
protected final IfDirectoryReturnNameStrategy ifDirectoryReturnName;
|
||||||
protected final Factory blobFactory;
|
protected final Factory blobFactory;
|
||||||
|
@ -124,21 +122,19 @@ public class TransientAsyncBlobStore extends BaseAsyncBlobStore {
|
||||||
|
|
||||||
@Inject
|
@Inject
|
||||||
protected TransientAsyncBlobStore(BlobStoreContext context,
|
protected TransientAsyncBlobStore(BlobStoreContext context,
|
||||||
DateService dateService, Crypto crypto,
|
|
||||||
HttpGetOptionsListToGetOptions httpGetOptionsConverter,
|
|
||||||
ContentMetadataCodec contentMetadataCodec,
|
|
||||||
IfDirectoryReturnNameStrategy ifDirectoryReturnName,
|
|
||||||
BlobUtils blobUtils,
|
BlobUtils blobUtils,
|
||||||
@Named(Constants.PROPERTY_USER_THREADS) ExecutorService service,
|
@Named(Constants.PROPERTY_USER_THREADS) ExecutorService service,
|
||||||
Supplier<Location> defaultLocation,
|
Supplier<Location> defaultLocation,
|
||||||
@Memoized Supplier<Set<? extends Location>> locations,
|
@Memoized Supplier<Set<? extends Location>> locations,
|
||||||
|
DateService dateService, Crypto crypto,
|
||||||
|
ContentMetadataCodec contentMetadataCodec,
|
||||||
|
IfDirectoryReturnNameStrategy ifDirectoryReturnName,
|
||||||
Factory blobFactory, LocalStorageStrategy storageStrategy,
|
Factory blobFactory, LocalStorageStrategy storageStrategy,
|
||||||
Provider<UriBuilder> uriBuilders) {
|
Provider<UriBuilder> uriBuilders) {
|
||||||
super(context, blobUtils, service, defaultLocation, locations);
|
super(context, blobUtils, service, defaultLocation, locations);
|
||||||
this.blobFactory = blobFactory;
|
this.blobFactory = blobFactory;
|
||||||
this.dateService = dateService;
|
this.dateService = dateService;
|
||||||
this.crypto = crypto;
|
this.crypto = crypto;
|
||||||
this.httpGetOptionsConverter = httpGetOptionsConverter;
|
|
||||||
this.contentMetadataCodec = contentMetadataCodec;
|
this.contentMetadataCodec = contentMetadataCodec;
|
||||||
this.ifDirectoryReturnName = ifDirectoryReturnName;
|
this.ifDirectoryReturnName = ifDirectoryReturnName;
|
||||||
this.storageStrategy = storageStrategy;
|
this.storageStrategy = storageStrategy;
|
||||||
|
|
Loading…
Reference in New Issue