Merge branch 'master' of github.com:redisson/redisson

pull/3292/head
Nikita Koksharov 4 years ago
commit d882758b52

@ -37,7 +37,7 @@ Maven
<artifactId>redisson-hibernate-52</artifactId>
<!-- for Hibernate v5.3.3+ - v5.4.x -->
<artifactId>redisson-hibernate-53</artifactId>
<version>3.13.6</version>
<version>3.14.0</version>
</dependency>
```
@ -45,13 +45,13 @@ Gradle
```groovy
// for Hibernate v4.x
compile 'org.redisson:redisson-hibernate-4:3.13.6'
compile 'org.redisson:redisson-hibernate-4:3.14.0'
// for Hibernate v5.0.x - v5.1.x
compile 'org.redisson:redisson-hibernate-5:3.13.6'
compile 'org.redisson:redisson-hibernate-5:3.14.0'
// for Hibernate v5.2.x
compile 'org.redisson:redisson-hibernate-52:3.13.6'
compile 'org.redisson:redisson-hibernate-52:3.14.0'
// for Hibernate v5.3.3+ - v5.4.x
compile 'org.redisson:redisson-hibernate-53:3.13.6'
compile 'org.redisson:redisson-hibernate-53:3.14.0'
```
### 2. Specify hibernate cache settings

@ -29,14 +29,14 @@ Maven
<dependency>
<groupId>org.redisson</groupId>
<artifactId>redisson-mybatis</artifactId>
<version>3.13.6</version>
<version>3.14.0</version>
</dependency>
```
Gradle
```groovy
compile 'org.redisson:redisson-mybatis:3.13.6'
compile 'org.redisson:redisson-mybatis:3.14.0'
```
### 2. Specify MyBatis cache settings

@ -61,44 +61,44 @@ spring:
master:
nodes:
# Redisson settings
# Redisson settings
#path to config - redisson.yaml
redisson:
file: classpath:redisson.yaml
config: |
clusterServersConfig:
idleConnectionTimeout: 10000
connectTimeout: 10000
timeout: 3000
retryAttempts: 3
retryInterval: 1500
failedSlaveReconnectionInterval: 3000
failedSlaveCheckInterval: 60000
password: null
subscriptionsPerConnection: 5
clientName: null
loadBalancer: !<org.redisson.connection.balancer.RoundRobinLoadBalancer> {}
subscriptionConnectionMinimumIdleSize: 1
subscriptionConnectionPoolSize: 50
slaveConnectionMinimumIdleSize: 24
slaveConnectionPoolSize: 64
masterConnectionMinimumIdleSize: 24
masterConnectionPoolSize: 64
readMode: "SLAVE"
subscriptionMode: "SLAVE"
nodeAddresses:
- "redis://127.0.0.1:7004"
- "redis://127.0.0.1:7001"
- "redis://127.0.0.1:7000"
scanInterval: 1000
pingConnectionInterval: 0
keepAlive: false
tcpNoDelay: false
threads: 16
nettyThreads: 32
codec: !<org.redisson.codec.FstCodec> {}
transportMode: "NIO"
#path to config - redisson.yaml
redisson:
file: classpath:redisson.yaml
config: |
clusterServersConfig:
idleConnectionTimeout: 10000
connectTimeout: 10000
timeout: 3000
retryAttempts: 3
retryInterval: 1500
failedSlaveReconnectionInterval: 3000
failedSlaveCheckInterval: 60000
password: null
subscriptionsPerConnection: 5
clientName: null
loadBalancer: !<org.redisson.connection.balancer.RoundRobinLoadBalancer> {}
subscriptionConnectionMinimumIdleSize: 1
subscriptionConnectionPoolSize: 50
slaveConnectionMinimumIdleSize: 24
slaveConnectionPoolSize: 64
masterConnectionMinimumIdleSize: 24
masterConnectionPoolSize: 64
readMode: "SLAVE"
subscriptionMode: "SLAVE"
nodeAddresses:
- "redis://127.0.0.1:7004"
- "redis://127.0.0.1:7001"
- "redis://127.0.0.1:7000"
scanInterval: 1000
pingConnectionInterval: 0
keepAlive: false
tcpNoDelay: false
threads: 16
nettyThreads: 32
codec: !<org.redisson.codec.MarshallingCodec> {}
transportMode: "NIO"
```

@ -2,7 +2,7 @@
Integrates Redisson with Spring Data Redis library. Implements Spring Data's `RedisConnectionFactory` and `ReactiveRedisConnectionFactory` interfaces and allows to interact with Redis through `RedisTemplate` or `ReactiveRedisTemplate` object.
Supports Spring Data Redis 1.6.x - 2.3.x
Supports Spring Data Redis 1.6.x - 2.4.x
<sub>Consider __[Redisson PRO](https://redisson.pro)__ version for advanced features and support by SLA.</sub>
@ -29,7 +29,9 @@ Maven
<artifactId>redisson-spring-data-22</artifactId>
<!-- for Spring Data Redis v.2.3.x -->
<artifactId>redisson-spring-data-23</artifactId>
<version>3.13.6</version>
<!-- for Spring Data Redis v.2.4.x -->
<artifactId>redisson-spring-data-24</artifactId>
<version>3.14.0</version>
</dependency>
```
@ -37,19 +39,21 @@ Gradle
```groovy
// for Spring Data Redis v.1.6.x
compile 'org.redisson:redisson-spring-data-16:3.13.6'
compile 'org.redisson:redisson-spring-data-16:3.14.0'
// for Spring Data Redis v.1.7.x
compile 'org.redisson:redisson-spring-data-17:3.13.6'
compile 'org.redisson:redisson-spring-data-17:3.14.0'
// for Spring Data Redis v.1.8.x
compile 'org.redisson:redisson-spring-data-18:3.13.6'
compile 'org.redisson:redisson-spring-data-18:3.14.0'
// for Spring Data Redis v.2.0.x
compile 'org.redisson:redisson-spring-data-20:3.13.6'
compile 'org.redisson:redisson-spring-data-20:3.14.0'
// for Spring Data Redis v.2.1.x
compile 'org.redisson:redisson-spring-data-21:3.13.6'
compile 'org.redisson:redisson-spring-data-21:3.14.0'
// for Spring Data Redis v.2.2.x
compile 'org.redisson:redisson-spring-data-22:3.13.6'
compile 'org.redisson:redisson-spring-data-22:3.14.0'
// for Spring Data Redis v.2.3.x
compile 'org.redisson:redisson-spring-data-23:3.13.6'
compile 'org.redisson:redisson-spring-data-23:3.14.0'
// for Spring Data Redis v.2.4.x
compile 'org.redisson:redisson-spring-data-24:3.14.0'
```
### 2. Register `RedissonConnectionFactory` in Spring context

@ -10,7 +10,7 @@ Supports Apache Tomcat 7.x, 8.x, 9.x
### 1. Add session manager
Add `RedissonSessionManager` in `tomcat/conf/context.xml` or per context in `tomcat/conf/server.xml`
Add `RedissonSessionManager` in global context - `tomcat/conf/context.xml` or per application context - `tomcat/conf/server.xml`
```xml
<Manager className="org.redisson.tomcat.RedissonSessionManager"
@ -65,12 +65,12 @@ Amount of Redisson instances created by Tomcat for multiple contexts could be re
### 2. Copy two jars into `TOMCAT_BASE/lib` directory:
[redisson-all-3.13.5.jar](https://repository.sonatype.org/service/local/artifact/maven/redirect?r=central-proxy&g=org.redisson&a=redisson-all&v=3.13.5&e=jar)
[redisson-all-3.14.0.jar](https://repository.sonatype.org/service/local/artifact/maven/redirect?r=central-proxy&g=org.redisson&a=redisson-all&v=3.14.0&e=jar)
for Tomcat 7.x
[redisson-tomcat-7-3.13.5.jar](https://repository.sonatype.org/service/local/artifact/maven/redirect?r=central-proxy&g=org.redisson&a=redisson-tomcat-7&v=3.13.5&e=jar)
[redisson-tomcat-7-3.14.0.jar](https://repository.sonatype.org/service/local/artifact/maven/redirect?r=central-proxy&g=org.redisson&a=redisson-tomcat-7&v=3.14.0&e=jar)
for Tomcat 8.x
[redisson-tomcat-8-3.13.5.jar](https://repository.sonatype.org/service/local/artifact/maven/redirect?r=central-proxy&g=org.redisson&a=redisson-tomcat-8&v=3.13.5&e=jar)
[redisson-tomcat-8-3.14.0.jar](https://repository.sonatype.org/service/local/artifact/maven/redirect?r=central-proxy&g=org.redisson&a=redisson-tomcat-8&v=3.14.0&e=jar)
for Tomcat 9.x
[redisson-tomcat-9-3.13.5.jar](https://repository.sonatype.org/service/local/artifact/maven/redirect?r=central-proxy&g=org.redisson&a=redisson-tomcat-9&v=3.13.5&e=jar)
[redisson-tomcat-9-3.14.0.jar](https://repository.sonatype.org/service/local/artifact/maven/redirect?r=central-proxy&g=org.redisson&a=redisson-tomcat-9&v=3.14.0&e=jar)

Loading…
Cancel
Save