org.jclouds.cloudfiles.blobstore
Class CloudFilesAsyncBlobStore

java.lang.Object
  extended by org.jclouds.blobstore.internal.BaseAsyncBlobStore
      extended by org.jclouds.openstack.swift.blobstore.SwiftAsyncBlobStore
          extended by org.jclouds.cloudfiles.blobstore.CloudFilesAsyncBlobStore
All Implemented Interfaces:
AsyncBlobStore

@Singleton
public class CloudFilesAsyncBlobStore
extends SwiftAsyncBlobStore

Author:
Adrian Cole

Field Summary
 
Fields inherited from class org.jclouds.blobstore.internal.BaseAsyncBlobStore
blobUtils, context, defaultLocation, locations, service
 
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)
           
 
Method Summary
 com.google.common.util.concurrent.ListenableFuture<Boolean> createContainerInLocation(Location location, String container, CreateContainerOptions options)
           
 
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
 

Constructor Detail

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)
Method Detail

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.