org.jclouds.s3.blobstore.internal
Class S3BlobStoreContextImpl

java.lang.Object
  extended by com.google.common.collect.ForwardingObject
      extended by org.jclouds.internal.BaseView
          extended by org.jclouds.blobstore.internal.BlobStoreContextImpl
              extended by org.jclouds.s3.blobstore.internal.S3BlobStoreContextImpl
All Implemented Interfaces:
Closeable, BlobStoreContext, S3BlobStoreContext, View
Direct Known Subclasses:
AWSS3BlobStoreContextImpl

@Singleton
public class S3BlobStoreContextImpl
extends BlobStoreContextImpl
implements S3BlobStoreContext

Author:
Adrian Cole

Constructor Summary
S3BlobStoreContextImpl(Context backend, com.google.common.reflect.TypeToken<? extends Context> backendType, BlobMap.Factory blobMapFactory, Utils utils, ConsistencyModel consistencyModel, InputStreamMap.Factory inputStreamMapFactory, AsyncBlobStore ablobStore, BlobStore blobStore, BlobRequestSigner blobRequestSigner)
           
 
Method Summary
 S3AsyncBlobStore getAsyncBlobStore()
           
 S3BlobStore getBlobStore()
           
 
Methods inherited from class org.jclouds.blobstore.internal.BlobStoreContextImpl
close, createBlobMap, createBlobMap, createInputStreamMap, createInputStreamMap, equals, getConsistencyModel, getProviderSpecificContext, getSigner, getUtils, hashCode, toString, utils
 
Methods inherited from class org.jclouds.internal.BaseView
delegate, getBackendType, string, unwrap, unwrap, unwrap
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jclouds.blobstore.BlobStoreContext
close, createBlobMap, createBlobMap, createInputStreamMap, createInputStreamMap, getConsistencyModel, getProviderSpecificContext, getSigner, getUtils, utils
 
Methods inherited from interface org.jclouds.View
getBackendType, unwrap, unwrap, unwrap
 

Constructor Detail

S3BlobStoreContextImpl

@Inject
public S3BlobStoreContextImpl(Context backend,
                                     com.google.common.reflect.TypeToken<? extends Context> backendType,
                                     BlobMap.Factory blobMapFactory,
                                     Utils utils,
                                     ConsistencyModel consistencyModel,
                                     InputStreamMap.Factory inputStreamMapFactory,
                                     AsyncBlobStore ablobStore,
                                     BlobStore blobStore,
                                     BlobRequestSigner blobRequestSigner)
Method Detail

getBlobStore

public S3BlobStore getBlobStore()
Specified by:
getBlobStore in interface BlobStoreContext
Specified by:
getBlobStore in interface S3BlobStoreContext
Overrides:
getBlobStore in class BlobStoreContextImpl
Returns:
a portable interface for the BlobStore.

getAsyncBlobStore

public S3AsyncBlobStore getAsyncBlobStore()
Specified by:
getAsyncBlobStore in interface BlobStoreContext
Specified by:
getAsyncBlobStore in interface S3BlobStoreContext
Overrides:
getAsyncBlobStore in class BlobStoreContextImpl
Returns:
a portable asynchronous interface for the BlobStore, which returns Futures for each call.


Copyright © 2009-2012 jclouds. All Rights Reserved.