From bccdeec2d5d6bdf148801286fd5459eeca5cf7c6 Mon Sep 17 00:00:00 2001 From: Nikita Koksharov Date: Fri, 15 May 2020 14:56:43 +0300 Subject: [PATCH] Update README.md --- redisson-tomcat/README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/redisson-tomcat/README.md b/redisson-tomcat/README.md index e0e1a4533..bdaf1b18f 100644 --- a/redisson-tomcat/README.md +++ b/redisson-tomcat/README.md @@ -19,8 +19,11 @@ Add `RedissonSessionManager` in `tomcat/conf/context.xml` or per context in `tom ```xml + readMode="REDIS" updateMode="DEFAULT" broadcastSessionEvents="false" + keyPrefix=""/> ``` + `keyPrefix` - string prefix applied to all Redis keys. Allows to connection different Tomcat envirounments to the same Redis instance. + `readMode` - read Session attributes mode. Two modes are available: * `MEMORY` - stores attributes into local Tomcat Session and Redis. Further Session updates propagated to local Tomcat Session using Redis-based events. * `REDIS` - stores attributes into Redis only. Default mode.