diff --git a/redisson-tomcat/README.md b/redisson-tomcat/README.md index c186dcebd..af24b5728 100644 --- a/redisson-tomcat/README.md +++ b/redisson-tomcat/README.md @@ -28,10 +28,10 @@ Add `RedissonSessionManager` in global context - `tomcat/conf/context.xml` or pe `broadcastSessionUpdates` - if `true` and `readMode=MEMORY` then session updates are broadcasted across all Tomcat instances. Default is `true`. `updateMode` - Session attributes update mode. Two modes are available: - * `DEFAULT` - session attributes are stored into Redis only through `Session.setAttribute` method. Default mode. + * `DEFAULT` - session attributes are stored into Redis only through the `Session.setAttribute` method. Default mode. * `AFTER_REQUEST` - * In `readMode=REDIS` all changes of session attributes made through `Session.setAttribute` method accomulated in memory and stored into Redis only after end of request. - * In `readMode=MEMORY` all session attributes are always stored into Redis after end of request regardless of `Session.setAttribute` method invocation. It useful in case when some objects stored in session change own state without `Session.setAttribute` method execution. + * In `readMode=REDIS` all changes of session attributes made through the `Session.setAttribute` method are accumulated in memory and stored into Redis only after the end of the request. + * In `readMode=MEMORY` all session attributes are always stored into Redis after the end of the request regardless of the `Session.setAttribute` method invocation. It is useful in case when some objects stored in session change their own state without `Session.setAttribute` method execution.
`configPath` - path to Redisson YAML config. See [configuration wiki page](https://github.com/redisson/redisson/wiki/2.-Configuration) for more details.