org.jclouds.cloudfiles.blobstore
Class CloudFilesAsyncBlobStore
java.lang.Object
org.jclouds.blobstore.internal.BaseAsyncBlobStore
org.jclouds.openstack.swift.blobstore.SwiftAsyncBlobStore
org.jclouds.cloudfiles.blobstore.CloudFilesAsyncBlobStore
- All Implemented Interfaces:
- AsyncBlobStore
@Singleton
public class CloudFilesAsyncBlobStore
- extends SwiftAsyncBlobStore
- Author:
- Adrian Cole
Constructor Summary |
protected |
CloudFilesAsyncBlobStore(BlobStoreContext context,
BlobUtils blobUtils,
ExecutorService service,
com.google.common.base.Supplier<Location> defaultLocation,
com.google.common.base.Supplier<Set<? extends Location>> locations,
CloudFilesClient sync,
CloudFilesAsyncClient async,
ContainerToResourceMetadata container2ResourceMd,
BlobStoreListContainerOptionsToListContainerOptions container2ContainerListOptions,
ContainerToResourceList container2ResourceList,
ObjectToBlob object2Blob,
BlobToObject blob2Object,
ObjectToBlobMetadata object2BlobMd,
BlobToHttpGetOptions blob2ObjectGetOptions,
javax.inject.Provider<FetchBlobMetadata> fetchBlobMetadataProvider,
EnableCDNAndCache enableCDNAndCache)
|
Methods inherited from class org.jclouds.openstack.swift.blobstore.SwiftAsyncBlobStore |
blobExists, blobMetadata, containerExists, createContainerInLocation, deleteAndVerifyContainerGone, getBlob, list, list, putBlob, putBlob, removeBlob |
Methods inherited from class org.jclouds.blobstore.internal.BaseAsyncBlobStore |
blobBuilder, clearContainer, clearContainer, countBlobs, countBlobs, createDirectory, deleteAndEnsurePathGone, deleteContainer, deleteDirectory, directoryExists, getBlob, getContext, list, listAssignableLocations, newBlob |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CloudFilesAsyncBlobStore
@Inject
protected CloudFilesAsyncBlobStore(BlobStoreContext context,
BlobUtils blobUtils,
@Named(value="jclouds.user-threads")
ExecutorService service,
com.google.common.base.Supplier<Location> defaultLocation,
com.google.common.base.Supplier<Set<? extends Location>> locations,
CloudFilesClient sync,
CloudFilesAsyncClient async,
ContainerToResourceMetadata container2ResourceMd,
BlobStoreListContainerOptionsToListContainerOptions container2ContainerListOptions,
ContainerToResourceList container2ResourceList,
ObjectToBlob object2Blob,
BlobToObject blob2Object,
ObjectToBlobMetadata object2BlobMd,
BlobToHttpGetOptions blob2ObjectGetOptions,
javax.inject.Provider<FetchBlobMetadata> fetchBlobMetadataProvider,
EnableCDNAndCache enableCDNAndCache)
createContainerInLocation
public com.google.common.util.concurrent.ListenableFuture<Boolean> createContainerInLocation(Location location,
String container,
CreateContainerOptions options)
- Specified by:
createContainerInLocation
in interface AsyncBlobStore
- Overrides:
createContainerInLocation
in class SwiftAsyncBlobStore
- See Also:
BlobStore.createContainerInLocation(Location,String,CreateContainerOptions)
Copyright © 2009-2011 jclouds. All Rights Reserved.