@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 |
---|---|
com.amazonaws.services.elasticache.AmazonElastiCache |
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 com.amazonaws.services.elasticache.AmazonElastiCache amazonElastiCache()
@Bean public org.springframework.cache.annotation.CachingConfigurer cachingConfigurer(com.amazonaws.services.elasticache.AmazonElastiCache amazonElastiCache, ResourceIdResolver resourceIdResolver, List<CacheFactory> cacheFactories)
@Bean public RedisCacheFactory redisCacheFactory()
@Bean public MemcachedCacheFactory memcachedCacheFactory()
Copyright © 2015 Pivotal Software, Inc.. All rights reserved.