@Configuration @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,
ResourceLoader resourceLoader) |
@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, ResourceLoader resourceLoader)
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.