org.jclouds.aws.s3.blobstore
Class AWSS3AsyncBlobStore

java.lang.Object
  extended by org.jclouds.blobstore.internal.BaseAsyncBlobStore
      extended by org.jclouds.s3.blobstore.S3AsyncBlobStore
          extended by org.jclouds.aws.s3.blobstore.AWSS3AsyncBlobStore
All Implemented Interfaces:
AsyncBlobStore

public class AWSS3AsyncBlobStore
extends S3AsyncBlobStore

Author:
Tibor Kiss

Field Summary
 
Fields inherited from class org.jclouds.blobstore.internal.BaseAsyncBlobStore
blobUtils, context, defaultLocation, locations, service
 
Constructor Summary
AWSS3AsyncBlobStore(BlobStoreContext context, BlobUtils blobUtils, ExecutorService service, com.google.common.base.Supplier<Location> defaultLocation, com.google.common.base.Supplier<Set<? extends Location>> locations, AWSS3AsyncClient async, AWSS3Client sync, BucketToResourceMetadata bucket2ResourceMd, ContainerToBucketListOptions container2BucketListOptions, BucketToResourceList bucket2ResourceList, ObjectToBlob object2Blob, BlobToHttpGetOptions blob2ObjectGetOptions, BlobToObject blob2Object, ObjectToBlobMetadata object2BlobMd, javax.inject.Provider<FetchBlobMetadata> fetchBlobMetadataProvider, Map<String,AccessControlList> bucketAcls, javax.inject.Provider<AsyncMultipartUploadStrategy> multipartUploadStrategy)
           
 
Method Summary
 com.google.common.util.concurrent.ListenableFuture<String> putBlob(String container, Blob blob, PutOptions options)
           
 
Methods inherited from class org.jclouds.s3.blobstore.S3AsyncBlobStore
blobExists, blobMetadata, containerExists, createContainerInLocation, createContainerInLocation, deleteAndVerifyContainerGone, getBlob, list, list, 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

AWSS3AsyncBlobStore

@Inject
public AWSS3AsyncBlobStore(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,
                                  AWSS3AsyncClient async,
                                  AWSS3Client sync,
                                  BucketToResourceMetadata bucket2ResourceMd,
                                  ContainerToBucketListOptions container2BucketListOptions,
                                  BucketToResourceList bucket2ResourceList,
                                  ObjectToBlob object2Blob,
                                  BlobToHttpGetOptions blob2ObjectGetOptions,
                                  BlobToObject blob2Object,
                                  ObjectToBlobMetadata object2BlobMd,
                                  javax.inject.Provider<FetchBlobMetadata> fetchBlobMetadataProvider,
                                  Map<String,AccessControlList> bucketAcls,
                                  javax.inject.Provider<AsyncMultipartUploadStrategy> multipartUploadStrategy)
Method Detail

putBlob

public com.google.common.util.concurrent.ListenableFuture<String> putBlob(String container,
                                                                          Blob blob,
                                                                          PutOptions options)
Specified by:
putBlob in interface AsyncBlobStore
Overrides:
putBlob in class S3AsyncBlobStore
See Also:
BlobStore.putBlob(String,Blob,PutOptions)


Copyright © 2009-2011 jclouds. All Rights Reserved.