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

pull/2459/head
Nikita Koksharov 5 years ago
commit 7a784c25bf

@ -0,0 +1,17 @@
name: Java CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Build with Maven
run: mvn -B package --file pom.xml

@ -4,7 +4,7 @@ Implements [Hibernate 2nd level Cache](https://docs.jboss.org/hibernate/orm/5.4/
Supports all Hibernate cache strategies: `READ_ONLY`, `NONSTRICT_READ_WRITE`, `READ_WRITE` and `TRANSACTIONAL`.
It's recommended to use FST or Snappy as [codec](https://github.com/redisson/redisson/wiki/4.-data-serialization).
Compatible with Hibernate 4.x, 5.x. (5.3.0, 5.3.1 and 5.3.2 versions aren't supported)
Compatible with Hibernate 5.3.3+
Redisson provides various Hibernate Cache factories including those with features below:
@ -30,29 +30,17 @@ Maven
```xml
<dependency>
<groupId>org.redisson</groupId>
<!-- for Hibernate v4.x -->
<artifactId>redisson-hibernate-4</artifactId>
<!-- for Hibernate v5.0.x - v5.1.x -->
<artifactId>redisson-hibernate-5</artifactId>
<!-- for Hibernate v5.2.x -->
<artifactId>redisson-hibernate-52</artifactId>
<!-- for Hibernate v5.3.3+ - v5.4.x -->
<artifactId>redisson-hibernate-53</artifactId>
<version>3.11.5</version>
<version>3.11.6</version>
</dependency>
```
Gradle
```groovy
// for Hibernate v4.x
compile 'org.redisson:redisson-hibernate-4:3.11.5'
// for Hibernate v5.0.x - v5.1.x
compile 'org.redisson:redisson-hibernate-5:3.11.5'
// for Hibernate v5.2.x
compile 'org.redisson:redisson-hibernate-52:3.11.5'
// for Hibernate v5.3.3+ - v5.4.x
compile 'org.redisson:redisson-hibernate-53:3.11.5'
compile 'org.redisson:redisson-hibernate-53:3.11.6'
```
### 2. Specify hibernate cache settings

@ -16,14 +16,14 @@ Maven
<dependency>
<groupId>org.redisson</groupId>
<artifactId>redisson-spring-boot-starter</artifactId>
<version>3.11.5</version>
<version>3.11.6</version>
</dependency>
```
Gradle
```groovy
compile 'org.redisson:redisson-spring-boot-starter:3.11.5'
compile 'org.redisson:redisson-spring-boot-starter:3.11.6'
```
### 2. Add settings into `application.settings` file
@ -45,7 +45,7 @@ spring.redis.sentinel.nodes=
# Redisson settings
#path to redisson.yaml or redisson.json
#path to config - redisson.yaml
spring.redis.redisson.config=classpath:redisson.yaml
```

@ -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, 1.7.x, 1.8.x, 2.0.x, 2.1.x, 2.2.x
Supports Spring Data Redis 1.8.x, 2.0.x, 2.1.x, 2.2.x
<sub>Consider __[Redisson PRO](https://redisson.pro)__ version for advanced features and support by SLA.</sub>
@ -15,10 +15,6 @@ Maven
```xml
<dependency>
<groupId>org.redisson</groupId>
<!-- for Spring Data Redis v.1.6.x -->
<artifactId>redisson-spring-data-16</artifactId>
<!-- for Spring Data Redis v.1.7.x -->
<artifactId>redisson-spring-data-17</artifactId>
<!-- for Spring Data Redis v.1.8.x -->
<artifactId>redisson-spring-data-18</artifactId>
<!-- for Spring Data Redis v.2.0.x -->
@ -27,23 +23,21 @@ Maven
<artifactId>redisson-spring-data-21</artifactId>
<!-- for Spring Data Redis v.2.2.x -->
<artifactId>redisson-spring-data-22</artifactId>
<version>3.11.5</version>
<version>3.11.6</version>
</dependency>
```
Gradle
```groovy
// for Spring Data Redis v.1.6.x
compile 'org.redisson:redisson-spring-data-16:3.11.5'
// for Spring Data Redis v.1.7.x
compile 'org.redisson:redisson-spring-data-17:3.11.5'
// for Spring Data Redis v.1.8.x
compile 'org.redisson:redisson-spring-data-18:3.11.5'
compile 'org.redisson:redisson-spring-data-18:3.11.6'
// for Spring Data Redis v.2.0.x
compile 'org.redisson:redisson-spring-data-20:3.11.5'
compile 'org.redisson:redisson-spring-data-20:3.11.6'
// for Spring Data Redis v.2.1.x
compile 'org.redisson:redisson-spring-data-21:3.11.5'
compile 'org.redisson:redisson-spring-data-21:3.11.6'
// for Spring Data Redis v.2.2.x
compile 'org.redisson:redisson-spring-data-21:3.11.6'
```
### 2. Register `RedissonConnectionFactory` in Spring context

@ -2,7 +2,7 @@
Stores session of [Apache Tomcat](http://tomcat.apache.org) in Redis and allows to distribute requests across a cluster of Tomcat servers. Implements non-sticky session management backed by Redis.
Supports Apache Tomcat 6.x, 7.x, 8.x, 9.x
Supports Apache Tomcat 7.x, 8.x, 9.x
<sub>Consider __[Redisson PRO](https://redisson.pro)__ version for advanced features and support by SLA.</sub>
@ -66,14 +66,12 @@ Add `RedissonSessionManager` into `tomcat/conf/context.xml`
### 2. Copy two jars into `TOMCAT_BASE/lib` directory:
[redisson-all-3.11.5.jar](https://repository.sonatype.org/service/local/artifact/maven/redirect?r=central-proxy&g=org.redisson&a=redisson-all&v=3.11.5&e=jar)
[redisson-all-3.11.6.jar](https://repository.sonatype.org/service/local/artifact/maven/redirect?r=central-proxy&g=org.redisson&a=redisson-all&v=3.11.6&e=jar)
for Tomcat 6.x
[redisson-tomcat-6-3.11.5.jar](https://repository.sonatype.org/service/local/artifact/maven/redirect?r=central-proxy&g=org.redisson&a=redisson-tomcat-6&v=3.11.5&e=jar)
for Tomcat 7.x
[redisson-tomcat-7-3.11.5.jar](https://repository.sonatype.org/service/local/artifact/maven/redirect?r=central-proxy&g=org.redisson&a=redisson-tomcat-7&v=3.11.5&e=jar)
[redisson-tomcat-7-3.11.6.jar](https://repository.sonatype.org/service/local/artifact/maven/redirect?r=central-proxy&g=org.redisson&a=redisson-tomcat-7&v=3.11.6&e=jar)
for Tomcat 8.x
[redisson-tomcat-8-3.11.5.jar](https://repository.sonatype.org/service/local/artifact/maven/redirect?r=central-proxy&g=org.redisson&a=redisson-tomcat-8&v=3.11.5&e=jar)
[redisson-tomcat-8-3.11.6.jar](https://repository.sonatype.org/service/local/artifact/maven/redirect?r=central-proxy&g=org.redisson&a=redisson-tomcat-8&v=3.11.6&e=jar)
for Tomcat 9.x
[redisson-tomcat-9-3.11.5.jar](https://repository.sonatype.org/service/local/artifact/maven/redirect?r=central-proxy&g=org.redisson&a=redisson-tomcat-9&v=3.11.5&e=jar)
[redisson-tomcat-9-3.11.6.jar](https://repository.sonatype.org/service/local/artifact/maven/redirect?r=central-proxy&g=org.redisson&a=redisson-tomcat-9&v=3.11.6&e=jar)

Loading…
Cancel
Save