@Configuration @AutoConfigureAfter(value=CommandPropertiesAutoConfiguration.class) @ConditionalOnProperty(name="command.cache.enabled") public class CommandCacheAutoConfiguration extends Object
| Constructor and Description |
|---|
CommandCacheAutoConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
CommandCache |
commandCache(org.springframework.data.redis.core.ReactiveStringRedisTemplate reactiveStringRedisTemplate,
CommandProperties commandProperties) |
CommandCacheInterceptor |
commandCacheInterceptor(CommandCache commandCache,
CommandCacheMapper commandCacheMapper) |
CommandCacheMapper |
commandCacheMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper) |
@Bean @ConditionalOnMissingBean public CommandCache commandCache(@Autowired org.springframework.data.redis.core.ReactiveStringRedisTemplate reactiveStringRedisTemplate, @Autowired CommandProperties commandProperties)
@Bean @ConditionalOnMissingBean public CommandCacheMapper commandCacheMapper(@Autowired com.fasterxml.jackson.databind.ObjectMapper objectMapper)
@Bean @ConditionalOnMissingBean public CommandCacheInterceptor commandCacheInterceptor(@Autowired(required=false) CommandCache commandCache, @Autowired(required=false) CommandCacheMapper commandCacheMapper)
Copyright © 2021. All rights reserved.