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

@@ -109,7 +109,7 @@ You can run the sample by obtaining the {download-url}[source code] and invoking
[NOTE] [NOTE]
==== ====
For the sample to work, you must http://redis.io/download[install Redis 2.8+] on localhost and run it with the default port (6379). For the sample to work, you must http://redis.io/download[install Redis 2.8+] on localhost and run it with the default port (6379).
Alternatively, you can update the `JedisConnectionFactory` to point to a Redis server. Alternatively, you can update the `RedisConnectionFactory` to point to a Redis server.
Another option is to use https://www.docker.com/[Docker] to run Redis on localhost. See https://hub.docker.com/_/redis/[Docker Redis repository] for detailed instructions. Another option is to use https://www.docker.com/[Docker] to run Redis on localhost. See https://hub.docker.com/_/redis/[Docker Redis repository] for detailed instructions.
==== ====

View File

@@ -92,7 +92,7 @@ You can run the sample by obtaining the {download-url}[source code] and invoking
[NOTE] [NOTE]
==== ====
For the sample to work, you must http://redis.io/download[install Redis 2.8+] on localhost and run it with the default port (6379). For the sample to work, you must http://redis.io/download[install Redis 2.8+] on localhost and run it with the default port (6379).
Alternatively, you can update the `JedisConnectionFactory` to point to a Redis server. Alternatively, you can update the `RedisConnectionFactory` to point to a Redis server.
Another option is to use https://www.docker.com/[Docker] to run Redis on localhost. See https://hub.docker.com/_/redis/[Docker Redis repository] for detailed instructions. Another option is to use https://www.docker.com/[Docker] to run Redis on localhost. See https://hub.docker.com/_/redis/[Docker Redis repository] for detailed instructions.
==== ====

View File

@@ -84,7 +84,7 @@ server.session.timeout=60
[NOTE] [NOTE]
==== ====
For the sample to work, you must http://redis.io/download[install Redis 2.8+] on localhost and run it with the default port (6379). For the sample to work, you must http://redis.io/download[install Redis 2.8+] on localhost and run it with the default port (6379).
Alternatively, you can update the `LettuceConnectionFactory` to point to a Redis server. Alternatively, you can update the `RedisConnectionFactory` to point to a Redis server.
Another option is to use https://www.docker.com/[Docker] to run Redis on localhost. See https://hub.docker.com/_/redis/[Docker Redis repository] for detailed instructions. Another option is to use https://www.docker.com/[Docker] to run Redis on localhost. See https://hub.docker.com/_/redis/[Docker Redis repository] for detailed instructions.
==== ====

View File

@@ -85,7 +85,7 @@ You can run the sample by obtaining the {download-url}[source code] and invoking
[NOTE] [NOTE]
==== ====
For the sample to work, you must http://redis.io/download[install Redis 2.8+] on localhost and run it with the default port (6379). For the sample to work, you must http://redis.io/download[install Redis 2.8+] on localhost and run it with the default port (6379).
Alternatively, you can update the `JedisConnectionFactory` to point to a Redis server. Alternatively, you can update the `RedisConnectionFactory` to point to a Redis server.
Another option is to use https://www.docker.com/[Docker] to run Redis on localhost. See https://hub.docker.com/_/redis/[Docker Redis repository] for detailed instructions. Another option is to use https://www.docker.com/[Docker] to run Redis on localhost. See https://hub.docker.com/_/redis/[Docker Redis repository] for detailed instructions.
==== ====

View File

@@ -79,7 +79,7 @@ You can run the sample by obtaining the {download-url}[source code] and invoking
[NOTE] [NOTE]
==== ====
For the sample to work, you must http://redis.io/download[install Redis 2.8+] on localhost and run it with the default port (6379). For the sample to work, you must http://redis.io/download[install Redis 2.8+] on localhost and run it with the default port (6379).
Alternatively, you can update the `LettuceConnectionFactory` to point to a Redis server. Alternatively, you can update the `RedisConnectionFactory` to point to a Redis server.
Another option is to use https://www.docker.com/[Docker] to run Redis on localhost. See https://hub.docker.com/_/redis/[Docker Redis repository] for detailed instructions. Another option is to use https://www.docker.com/[Docker] to run Redis on localhost. See https://hub.docker.com/_/redis/[Docker Redis repository] for detailed instructions.
==== ====

View File

@@ -126,7 +126,7 @@ You can run the sample by obtaining the {download-url}[source code] and invoking
[NOTE] [NOTE]
==== ====
For the sample to work, you must http://redis.io/download[install Redis 2.8+] on localhost and run it with the default port (6379). For the sample to work, you must http://redis.io/download[install Redis 2.8+] on localhost and run it with the default port (6379).
Alternatively, you can update the `LettuceConnectionFactory` to point to a Redis server. Alternatively, you can update the `RedisConnectionFactory` to point to a Redis server.
Another option is to use https://www.docker.com/[Docker] to run Redis on localhost. See https://hub.docker.com/_/redis/[Docker Redis repository] for detailed instructions. Another option is to use https://www.docker.com/[Docker] to run Redis on localhost. See https://hub.docker.com/_/redis/[Docker Redis repository] for detailed instructions.
==== ====

View File

@@ -127,7 +127,7 @@ You can run the sample by obtaining the {download-url}[source code] and invoking
[NOTE] [NOTE]
==== ====
For the sample to work, you must http://redis.io/download[install Redis 2.8+] on localhost and run it with the default port (6379). For the sample to work, you must http://redis.io/download[install Redis 2.8+] on localhost and run it with the default port (6379).
Alternatively, you can update the `LettuceConnectionFactory` to point to a Redis server. Alternatively, you can update the `RedisConnectionFactory` to point to a Redis server.
Another option is to use https://www.docker.com/[Docker] to run Redis on localhost. See https://hub.docker.com/_/redis/[Docker Redis repository] for detailed instructions. Another option is to use https://www.docker.com/[Docker] to run Redis on localhost. See https://hub.docker.com/_/redis/[Docker Redis repository] for detailed instructions.
==== ====

View File

@@ -131,7 +131,7 @@ You can run the sample by obtaining the {download-url}[source code] and invoking
[NOTE] [NOTE]
==== ====
For the sample to work, you must http://redis.io/download[install Redis 2.8+] on localhost and run it with the default port (6379). For the sample to work, you must http://redis.io/download[install Redis 2.8+] on localhost and run it with the default port (6379).
Alternatively, you can update the `LettuceConnectionFactory` to point to a Redis server. Alternatively, you can update the `RedisConnectionFactory` to point to a Redis server.
Another option is to use https://www.docker.com/[Docker] to run Redis on localhost. See https://hub.docker.com/_/redis/[Docker Redis repository] for detailed instructions. Another option is to use https://www.docker.com/[Docker] to run Redis on localhost. See https://hub.docker.com/_/redis/[Docker Redis repository] for detailed instructions.
==== ====

View File

@@ -20,7 +20,7 @@ You can run the sample by obtaining the {download-url}[source code] and invoking
[NOTE] [NOTE]
==== ====
For the sample to work, you must http://redis.io/download[install Redis 2.8+] on localhost and run it with the default port (6379). For the sample to work, you must http://redis.io/download[install Redis 2.8+] on localhost and run it with the default port (6379).
Alternatively, you can update the `LettuceConnectionFactory` to point to a Redis server. Alternatively, you can update the `RedisConnectionFactory` to point to a Redis server.
Another option is to use https://www.docker.com/[Docker] to run Redis on localhost. See https://hub.docker.com/_/redis/[Docker Redis repository] for detailed instructions. Another option is to use https://www.docker.com/[Docker] to run Redis on localhost. See https://hub.docker.com/_/redis/[Docker Redis repository] for detailed instructions.
==== ====

View File

@@ -134,7 +134,7 @@ You can run the sample by obtaining the {download-url}[source code] and invoking
[NOTE] [NOTE]
==== ====
For the sample to work, you must http://redis.io/download[install Redis 2.8+] on localhost and run it with the default port (6379). For the sample to work, you must http://redis.io/download[install Redis 2.8+] on localhost and run it with the default port (6379).
Alternatively, you can update the `LettuceConnectionFactory` to point to a Redis server. Alternatively, you can update the `RedisConnectionFactory` to point to a Redis server.
Another option is to use https://www.docker.com/[Docker] to run Redis on localhost. See https://hub.docker.com/_/redis/[Docker Redis repository] for detailed instructions. Another option is to use https://www.docker.com/[Docker] to run Redis on localhost. See https://hub.docker.com/_/redis/[Docker Redis repository] for detailed instructions.
==== ====

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: * A typical example of how to create a new instance can be seen below:
* *
* <pre> * <pre>
* JedisConnectionFactory factory = new JedisConnectionFactory(); * LettuceConnectionFactory factory = new LettuceConnectionFactory();
* *
* RedisOperationsSessionRepository redisSessionRepository = new RedisOperationsSessionRepository(factory); * RedisOperationsSessionRepository redisSessionRepository = new RedisOperationsSessionRepository(factory);
* </pre> * </pre>

View File

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