mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
parent
57ba6a40b6
commit
b45683f103
@ -38,13 +38,15 @@ import org.springframework.data.redis.core.RedisOperations;
|
||||
import org.springframework.data.redis.core.RedisTemplate;
|
||||
import org.springframework.data.redis.core.StringRedisTemplate;
|
||||
|
||||
import com.lambdaworks.redis.RedisClient;
|
||||
|
||||
/**
|
||||
* {@link EnableAutoConfiguration Auto-configuration} for Spring Data's Redis support.
|
||||
*
|
||||
* @author Dave Syer
|
||||
*/
|
||||
@Configuration
|
||||
@ConditionalOnClass({ LettuceConnection.class, RedisOperations.class })
|
||||
@ConditionalOnClass({ LettuceConnection.class, RedisOperations.class, RedisClient.class })
|
||||
public class RedisAutoConfiguration {
|
||||
|
||||
@Configuration
|
||||
|
Loading…
Reference in New Issue
Block a user