类 RedisTestConfiguration
java.lang.Object
cn.jrack.springboot.test.config.RedisTestConfiguration
@Configuration(proxyBeanMethods=false)
@Lazy(false)
@EnableConfigurationProperties(org.springframework.boot.autoconfigure.data.redis.RedisProperties.class)
public class RedisTestConfiguration
extends Object
Redis 测试 Configuration,主要实现内嵌 Redis 的启动
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明com.github.fppt.jedismock.RedisServerredisServer(org.springframework.boot.autoconfigure.data.redis.RedisProperties properties) 创建模拟的 Redis Server 服务器
-
构造器详细资料
-
RedisTestConfiguration
public RedisTestConfiguration()
-
-
方法详细资料
-
redisServer
@Bean public com.github.fppt.jedismock.RedisServer redisServer(org.springframework.boot.autoconfigure.data.redis.RedisProperties properties) throws IOException 创建模拟的 Redis Server 服务器- 抛出:
IOException
-