public class S3RestClientModule<S extends S3Client,A extends S3AsyncClient>
extends org.jclouds.aws.config.AWSRestClientModule<S,A>
| Modifier | Constructor and Description |
|---|---|
|
S3RestClientModule() |
protected |
S3RestClientModule(com.google.common.reflect.TypeToken<S> syncClientType,
com.google.common.reflect.TypeToken<A> asyncClientType) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
bindErrorHandlers() |
protected void |
bindRequestSigner() |
protected void |
bindRetryHandlers() |
protected com.google.common.cache.LoadingCache<String,com.google.common.base.Optional<String>> |
bucketToRegion(com.google.common.cache.CacheLoader<String,com.google.common.base.Optional<String>> loader) |
protected com.google.common.cache.CacheLoader<String,com.google.common.base.Optional<String>> |
bucketToRegion(com.google.common.base.Supplier<Set<String>> regionSupplier,
S3Client client) |
protected void |
configure() |
protected com.google.common.base.Supplier<String> |
defaultRegionForBucket(com.google.common.base.Supplier<String> defaultRegion) |
protected com.google.common.base.Supplier<URI> |
provideBucketURI(com.google.common.base.Supplier<String> defaultRegion,
org.jclouds.location.functions.RegionToEndpointOrProviderIfNull regionToEndpoint) |
protected org.jclouds.rest.RequestSigner |
provideRequestSigner(RequestAuthorizeSignature in) |
protected String |
provideTimeStamp(com.google.common.base.Supplier<String> cache) |
protected com.google.common.base.Supplier<String> |
provideTimeStampCache(long seconds,
org.jclouds.date.DateService dateService)
borrowing concurrency code to ensure that caching takes place properly
|
provideRetryableCodes, provideRetryableServerCodesaddError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding@Provides @Singleton protected com.google.common.cache.CacheLoader<String,com.google.common.base.Optional<String>> bucketToRegion(com.google.common.base.Supplier<Set<String>> regionSupplier, S3Client client)
@Provides @Singleton protected com.google.common.cache.LoadingCache<String,com.google.common.base.Optional<String>> bucketToRegion(com.google.common.cache.CacheLoader<String,com.google.common.base.Optional<String>> loader)
@Provides @Singleton protected com.google.common.base.Supplier<String> defaultRegionForBucket(com.google.common.base.Supplier<String> defaultRegion)
@Provides @Singleton protected com.google.common.base.Supplier<URI> provideBucketURI(com.google.common.base.Supplier<String> defaultRegion, org.jclouds.location.functions.RegionToEndpointOrProviderIfNull regionToEndpoint)
protected void configure()
configure in class org.jclouds.rest.config.RestClientModule<S extends S3Client,A extends S3AsyncClient>protected void bindErrorHandlers()
bindErrorHandlers in class org.jclouds.aws.config.AWSRestClientModule<S extends S3Client,A extends S3AsyncClient>protected void bindRequestSigner()
@Provides @Singleton protected org.jclouds.rest.RequestSigner provideRequestSigner(RequestAuthorizeSignature in)
protected void bindRetryHandlers()
bindRetryHandlers in class org.jclouds.aws.config.AWSRestClientModule<S extends S3Client,A extends S3AsyncClient>@Provides protected String provideTimeStamp(com.google.common.base.Supplier<String> cache)
@Provides @Singleton protected com.google.common.base.Supplier<String> provideTimeStampCache(@Named(value="jclouds.session-interval") long seconds, org.jclouds.date.DateService dateService)
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.