From cbb7e3695f5a607b1c9af9ad066789f56dbdcb76 Mon Sep 17 00:00:00 2001 From: Nikita Koksharov <nkoksharov@redisson.org> Date: Mon, 12 Sep 2016 14:27:22 +0300 Subject: [PATCH 1/5] Update README.md --- README.md | 36 ++++++++++++++++++++++++++++++------ 1 file changed, 30 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index ca9347815..56d112dd3 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,6 @@ Features * [Distributed collections](https://github.com/mrniko/redisson/wiki/7.-Distributed-collections) * [Distributed locks and synchronizers](https://github.com/mrniko/redisson/wiki/8.-Distributed-locks-and-synchronizers) * [Distributed services](https://github.com/mrniko/redisson/wiki/9.-distributed-services) -* [Scheduler service](https://github.com/mrniko/redisson/wiki/9.-distributed-services/#94-scheduled-executor-service) * [Spring cache](https://github.com/mrniko/redisson/wiki/14.-Integration%20with%20frameworks/#141-spring-cache) integration * [Hibernate](https://github.com/mrniko/redisson/wiki/14.-Integration%20with%20frameworks/#142-hibernate) integration * [Reactive Streams](https://github.com/mrniko/redisson/wiki/3.-operations-execution#32-reactive-way) @@ -58,16 +57,18 @@ Projects using Redisson ================================ [Setronica](http://setronica.com/), [Monits](http://monits.com/), [Brookhaven National Laboratory](http://bnl.gov/), [Netflix Dyno client] (https://github.com/Netflix/dyno), [武林Q传](http://www.nbrpg.com/), [Ocous](http://www.ocous.com/), [Invaluable](http://www.invaluable.com/), [Clover](https://www.clover.com/) , [Apache Karaf Decanter](https://karaf.apache.org/projects.html#decanter), [Atmosphere Framework](http://async-io.org/) -### Articles +Articles +================================ [Java data structures powered by Redis. Introduction to Redisson. PDF](http://redisson.org/Redisson.pdf) [Introducing Redisson Live Objects (Object Hash Mapping)](https://dzone.com/articles/introducing-redisson-live-object-object-hash-mappi) [Java Remote Method Invocation with Redisson](https://dzone.com/articles/java-remote-method-invocation-with-redisson) [Java Multimaps With Redis](https://dzone.com/articles/multimaps-with-redis) -### Maven +Quick start +=============================== -Include the following to your dependency list: +#### Maven <dependency> <groupId>org.redisson</groupId> @@ -75,11 +76,34 @@ Include the following to your dependency list: <version>2.3.0</version> </dependency> -### Gradle +#### Gradle compile 'org.redisson:redisson:2.3.0' + +#### Java + +```java +// 1. Create config object +Config = ... + +// 2. Create Redisson instance +RedissonClient redisson = Redisson.create(config); + +// 3. Get object you need +RMap<MyKey, MyValue> map = redisson.getMap("myMap"); + +RSet<MyValue> set = redisson.getMap("mySet"); + +RList<MyValue> list = redisson.getMap("myList"); + +RLock lock = redisson.getMap("myLock"); + +// over 30 different objects and services ... + +``` -### Downloads +Downloads +=============================== [Redisson 2.3.0](https://repository.sonatype.org/service/local/artifact/maven/redirect?r=central-proxy&g=org.redisson&a=redisson&v=2.3.0&e=jar) [Redisson node 2.3.0](https://repository.sonatype.org/service/local/artifact/maven/redirect?r=central-proxy&g=org.redisson&a=redisson-all&v=2.3.0&e=jar) From 8975fe9864734344512a972bb3facc17e9ef68c0 Mon Sep 17 00:00:00 2001 From: Nikita Koksharov <nkoksharov@redisson.org> Date: Mon, 12 Sep 2016 14:34:11 +0300 Subject: [PATCH 2/5] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 56d112dd3..716a09de7 100644 --- a/README.md +++ b/README.md @@ -92,11 +92,11 @@ RedissonClient redisson = Redisson.create(config); // 3. Get object you need RMap<MyKey, MyValue> map = redisson.getMap("myMap"); -RSet<MyValue> set = redisson.getMap("mySet"); +RSet<MyValue> set = redisson.getSet("mySet"); -RList<MyValue> list = redisson.getMap("myList"); +RList<MyValue> list = redisson.getList("myList"); -RLock lock = redisson.getMap("myLock"); +RLock lock = redisson.getLock("myLock"); // over 30 different objects and services ... From 7ea3fec4d196bfdacf781757544329d29604d651 Mon Sep 17 00:00:00 2001 From: Nikita Koksharov <nkoksharov@redisson.org> Date: Mon, 12 Sep 2016 14:34:30 +0300 Subject: [PATCH 3/5] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 716a09de7..6b4aa497d 100644 --- a/README.md +++ b/README.md @@ -65,7 +65,7 @@ Articles [Java Remote Method Invocation with Redisson](https://dzone.com/articles/java-remote-method-invocation-with-redisson) [Java Multimaps With Redis](https://dzone.com/articles/multimaps-with-redis) -Quick start +Easy to use. Quick start =============================== #### Maven From e4b1a6c017b9e48e42fb2e2dbe8e0b13554437dc Mon Sep 17 00:00:00 2001 From: Nikita Koksharov <nkoksharov@redisson.org> Date: Mon, 12 Sep 2016 15:01:50 +0300 Subject: [PATCH 4/5] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 6b4aa497d..192c0ba59 100644 --- a/README.md +++ b/README.md @@ -88,6 +88,8 @@ Config = ... // 2. Create Redisson instance RedissonClient redisson = Redisson.create(config); +// or +RedissonReactiveClient redisson = Redisson.createReactive(config); // 3. Get object you need RMap<MyKey, MyValue> map = redisson.getMap("myMap"); From ff7a7a7702fb9c7c94b691fb782c85dc006b22ac Mon Sep 17 00:00:00 2001 From: Nikita Koksharov <nkoksharov@redisson.org> Date: Mon, 12 Sep 2016 15:02:07 +0300 Subject: [PATCH 5/5] Update README.md --- README.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/README.md b/README.md index 192c0ba59..6b4aa497d 100644 --- a/README.md +++ b/README.md @@ -88,8 +88,6 @@ Config = ... // 2. Create Redisson instance RedissonClient redisson = Redisson.create(config); -// or -RedissonReactiveClient redisson = Redisson.createReactive(config); // 3. Get object you need RMap<MyKey, MyValue> map = redisson.getMap("myMap");