Update documentation to reflect preference for Lettuce

See gh-886
This commit is contained in:
Vedran Pavic
2017-10-02 19:00:23 +02:00
parent c51bce4777
commit 41cf2ef152
12 changed files with 13 additions and 13 deletions

View File

@@ -64,7 +64,7 @@ import org.springframework.util.Assert;
* A typical example of how to create a new instance can be seen below:
*
* <pre>
* JedisConnectionFactory factory = new JedisConnectionFactory();
* LettuceConnectionFactory factory = new LettuceConnectionFactory();
*
* RedisOperationsSessionRepository redisSessionRepository = new RedisOperationsSessionRepository(factory);
* </pre>

View File

@@ -38,8 +38,8 @@ import org.springframework.session.data.redis.RedisFlushMode;
* public class RedisHttpSessionConfig {
*
* {@literal @Bean}
* public JedisConnectionFactory connectionFactory() throws Exception {
* return new JedisConnectionFactory();
* public LettuceConnectionFactory connectionFactory() {
* return new LettuceConnectionFactory();
* }
*
* }