Package org.craftercms.commons.aws
Class S3AsyncClientCachingFactory
java.lang.Object
org.craftercms.commons.aws.AbstractAwsClientCachingFactory<S3Profile,software.amazon.awssdk.services.s3.S3AsyncClient>
org.craftercms.commons.aws.S3AsyncClientCachingFactory
- All Implemented Interfaces:
com.google.common.cache.RemovalListener<S3Profile,
,software.amazon.awssdk.services.s3.S3AsyncClient> org.springframework.beans.factory.DisposableBean
,org.springframework.beans.factory.InitializingBean
public class S3AsyncClientCachingFactory
extends AbstractAwsClientCachingFactory<S3Profile,software.amazon.awssdk.services.s3.S3AsyncClient>
AbstractAwsClientCachingFactory
for S3 async clients.-
Field Summary
Fields inherited from class org.craftercms.commons.aws.AbstractAwsClientCachingFactory
DEFAULT_SHUTDOWN_CLIENT_AFTER_IDLE_SECS
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected software.amazon.awssdk.services.s3.S3AsyncClient
createClient
(S3Profile profile) Methods inherited from class org.craftercms.commons.aws.AbstractAwsClientCachingFactory
afterPropertiesSet, destroy, getClient, onRemoval, setShutdownClientAfterIdleSecs, shutdownClient
-
Constructor Details
-
S3AsyncClientCachingFactory
public S3AsyncClientCachingFactory()
-
-
Method Details
-
createClient
- Specified by:
createClient
in classAbstractAwsClientCachingFactory<S3Profile,
software.amazon.awssdk.services.s3.S3AsyncClient>
-