@Configuration(proxyBeanMethods=false) @ConditionalOnClass(value={org.springframework.data.redis.connection.ReactiveRedisConnectionFactory.class,org.springframework.data.redis.core.ReactiveRedisTemplate.class,reactor.core.publisher.Flux.class}) @AutoConfigureAfter(value=RedisAutoConfiguration.class) public class RedisReactiveAutoConfiguration extends Object
Auto-configuration
for Spring Data's reactive Redis
support.Constructor and Description |
---|
RedisReactiveAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
org.springframework.data.redis.core.ReactiveRedisTemplate<Object,Object> |
reactiveRedisTemplate(org.springframework.data.redis.connection.ReactiveRedisConnectionFactory reactiveRedisConnectionFactory,
org.springframework.core.io.ResourceLoader resourceLoader) |
org.springframework.data.redis.core.ReactiveStringRedisTemplate |
reactiveStringRedisTemplate(org.springframework.data.redis.connection.ReactiveRedisConnectionFactory reactiveRedisConnectionFactory) |
@Bean @ConditionalOnMissingBean(name="reactiveRedisTemplate") @ConditionalOnBean(value=org.springframework.data.redis.connection.ReactiveRedisConnectionFactory.class) public org.springframework.data.redis.core.ReactiveRedisTemplate<Object,Object> reactiveRedisTemplate(org.springframework.data.redis.connection.ReactiveRedisConnectionFactory reactiveRedisConnectionFactory, org.springframework.core.io.ResourceLoader resourceLoader)
@Bean @ConditionalOnMissingBean(name="reactiveStringRedisTemplate") @ConditionalOnBean(value=org.springframework.data.redis.connection.ReactiveRedisConnectionFactory.class) public org.springframework.data.redis.core.ReactiveStringRedisTemplate reactiveStringRedisTemplate(org.springframework.data.redis.connection.ReactiveRedisConnectionFactory reactiveRedisConnectionFactory)
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.