|
|
|
@ -1,26 +1,31 @@
|
|
|
|
|
**1. Add dependency**
|
|
|
|
|
|
|
|
|
|
Maven
|
|
|
|
|
|
|
|
|
|
```xml
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.redisson</groupId>
|
|
|
|
|
<artifactId>redisson</artifactId>
|
|
|
|
|
<version>xVERSIONx</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
Gradle
|
|
|
|
|
|
|
|
|
|
```java
|
|
|
|
|
compile 'org.redisson:redisson:xVERSIONx'
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
SBT
|
|
|
|
|
|
|
|
|
|
```java
|
|
|
|
|
libraryDependencies += "org.redisson" % "redisson" % "xVERSIONx"
|
|
|
|
|
```
|
|
|
|
|
<div style="display: flex; flex-wrap: wrap; gap: 20px;">
|
|
|
|
|
<div style="flex: 1; min-width: 250px;">
|
|
|
|
|
<h3 style="margin-top: 0.75em">Redisson PRO</h3>
|
|
|
|
|
<h5>Maven</h5>
|
|
|
|
|
<pre><code><dependency>
|
|
|
|
|
<groupId>pro.redisson</groupId>
|
|
|
|
|
<artifactId>redisson</artifactId>
|
|
|
|
|
<version>xVERSIONx</version>
|
|
|
|
|
</dependency></code></pre>
|
|
|
|
|
<h5>Gradle</h5>
|
|
|
|
|
<pre><code>compile 'pro.redisson:redisson:xVERSIONx'</code></pre>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div style="flex: 1; min-width: 250px;">
|
|
|
|
|
<h3 style="margin-top: 0.75em">Community Edition</h3>
|
|
|
|
|
<h5>Maven</h5>
|
|
|
|
|
<pre><code><dependency>
|
|
|
|
|
<groupId>org.redisson</groupId>
|
|
|
|
|
<artifactId>redisson</artifactId>
|
|
|
|
|
<version>xVERSIONx</version>
|
|
|
|
|
</dependency></code></pre>
|
|
|
|
|
<h5>Gradle</h5>
|
|
|
|
|
<pre><code>compile 'org.redisson:redisson:xVERSIONx'</code></pre>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
[Redisson PRO vs. Community Edition ➜](https://redisson.pro/feature-comparison.html)
|
|
|
|
|
|
|
|
|
|
**2. Start development**
|
|
|
|
|
|
|
|
|
@ -89,6 +94,4 @@ Use one of supported modes: ([single mode](configuration.md/#single-mode),
|
|
|
|
|
// over 50 Redis or Valkey based Java objects and services ...
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
More code examples can be found [here](https://github.com/redisson/redisson-examples).
|
|
|
|
|
|
|
|
|
|
Upgrade to __[Redisson PRO](https://redisson.pro)__ with **advanced features**.
|
|
|
|
|
More code examples can be found [here](https://github.com/redisson/redisson-examples).
|