@Configuration @Import(value=ContextDefaultConfigurationRegistrar.class) public class ElastiCacheCachingConfiguration extends Object implements org.springframework.context.annotation.ImportAware
| Constructor and Description |
|---|
ElastiCacheCachingConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
AmazonWebserviceClientFactoryBean<com.amazonaws.services.elasticache.AmazonElastiCacheClient> |
amazonElastiCache() |
org.springframework.cache.annotation.CachingConfigurer |
cachingConfigurer(com.amazonaws.services.elasticache.AmazonElastiCache amazonElastiCache,
ResourceIdResolver resourceIdResolver,
List<CacheFactory> cacheFactories) |
MemcachedCacheFactory |
memcachedCacheFactory() |
RedisCacheFactory |
redisCacheFactory() |
void |
setImportMetadata(org.springframework.core.type.AnnotationMetadata importMetadata) |
public void setImportMetadata(org.springframework.core.type.AnnotationMetadata importMetadata)
setImportMetadata in interface org.springframework.context.annotation.ImportAware@Bean public AmazonWebserviceClientFactoryBean<com.amazonaws.services.elasticache.AmazonElastiCacheClient> amazonElastiCache()
@Bean
public org.springframework.cache.annotation.CachingConfigurer cachingConfigurer(com.amazonaws.services.elasticache.AmazonElastiCache amazonElastiCache,
ResourceIdResolver resourceIdResolver,
List<CacheFactory> cacheFactories)
@Bean @ConditionalOnClass(value="org.springframework.data.redis.connection.RedisConnectionFactory") public RedisCacheFactory redisCacheFactory()
@Bean @ConditionalOnClass(value="net.spy.memcached.MemcachedClient") public MemcachedCacheFactory memcachedCacheFactory()
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.