77
88** Supported JDK: 1.8 ... 21**
99
10- ** Supported Redisson: 3.15.5 ... 3.27 .0**
10+ ** Supported Redisson: 3.15.5 ... 3.35 .0**
1111
1212** Supported Redis: 3.0 ... 7.2**
1313
2525 <dependency>
2626 <groupId>org.codeba</groupId>
2727 <artifactId>redis-keeper-core</artifactId>
28- <version>2024.1 .0</version>
28+ <version>2024.2 .0</version>
2929 </dependency>
3030
3131 <dependency>
3232 <groupId>org.codeba</groupId>
3333 <artifactId>redis-keeper-support</artifactId>
34- <version>2024.1 .0</version>
34+ <version>2024.2 .0</version>
3535 </dependency>
3636
3737#### Gradle
38- implementation group: 'org.codeba', name: 'redis-keeper-core', version: '2024.1.0'
3938
40- implementation group: 'org.codeba', name: 'redis-keeper-support', version: '2024.1.0'
39+ implementation group: 'org.codeba', name: 'redis-keeper-core', version: '2024.2.0'
40+
41+ implementation group: 'org.codeba', name: 'redis-keeper-support', version: '2024.2.0'
4142
4243#### Sbt
43- libraryDependencies += "org.codeba" % "redis-keeper-core" % "2024.1.0"
44+
45+ libraryDependencies += "org.codeba" % "redis-keeper-core" % "2024.2.0"
4446
45- libraryDependencies += "org.codeba" % "redis-keeper-support" % "2024.1 .0"
47+ libraryDependencies += "org.codeba" % "redis-keeper-support" % "2024.2 .0"
4648
4749
4850#### Java
@@ -98,7 +100,7 @@ Optional<CacheTemplate> randomedTemplate = provider.randomTemplate("ds2");
98100< dependency>
99101 < groupId> org. codeba< / groupId>
100102 < artifactId> redis- keeper- spring- boot- starter< / artifactId>
101- < version> 2024.1 . 0 < / version>
103+ < version> 2024.2 . 0 < / version>
102104< / dependency>
103105```
104106
@@ -201,6 +203,30 @@ public class AppTest {
201203 cacheTemplate. trySetRateLimiter(key, 100 , 1 );
202204 cacheTemplate. tryAcquire(key);
203205 cacheTemplate. tryAcquire(key, 10 );
206+ // pipeline execute
207+ cacheTemplate. pipeline(kBatch - > {
208+ kBatch. getString(). setAsync(key, " bar" );
209+ kBatch. getGeo(). geoAddAsync(key, 13.361389 , 38.115556 , " Sicily" );
210+ kBatch. getList(). llenAsync(key);
211+ });
212+ // pipeline execute and get response
213+ final List<?> responses = cacheTemplate. pipelineWithResponses(kBatch - > {
214+ kBatch. getString(). setAsync(key, " bar" );
215+ kBatch. getGeo(). geoAddAsync(key, 13.361389 , 38.115556 , " Sicily" );
216+ kBatch. getList(). llenAsync(key);
217+ });
218+ // pipeline execute async
219+ final CompletableFuture<Void > voidCompletableFuture = cacheTemplate. pipelineAsync(kBatch - > {
220+ kBatch. getString(). setAsync(key, " bar" );
221+ kBatch. getGeo(). geoAddAsync(key, 13.361389 , 38.115556 , " Sicily" );
222+ kBatch. getList(). llenAsync(key);
223+ });
224+ // pipeline execute and get response async
225+ final CompletableFuture<List<?> > listCompletableFuture = cacheTemplate. pipelineWithResponsesAsync(kBatch - > {
226+ kBatch. getString(). setAsync(key, " bar" );
227+ kBatch. getGeo(). geoAddAsync(key, 13.361389 , 38.115556 , " Sicily" );
228+ kBatch. getList(). llenAsync(key);
229+ });
204230 }
205231
206232}
@@ -217,7 +243,7 @@ public class AppTest {
217243< dependency>
218244 < groupId> org. codeba< / groupId>
219245 < artifactId> redis- keeper- spring- boot- starter< / artifactId>
220- < version> 2024.1 . 0 < / version>
246+ < version> 2024.2 . 0 < / version>
221247< / dependency>
222248```
223249
@@ -311,7 +337,7 @@ public class AppTest {
311337< dependency>
312338 < groupId> org. codeba< / groupId>
313339 < artifactId> redis- keeper- spring- boot- starter< / artifactId>
314- < version> 2024.1 . 0 < / version>
340+ < version> 2024.2 . 0 < / version>
315341< / dependency>
316342```
317343
0 commit comments