From cfdaa334c19f96f718d4336ea2c6092b47c14230 Mon Sep 17 00:00:00 2001 From: Costin Leau Date: Mon, 13 Dec 2010 12:48:20 +0200 Subject: [PATCH] + wrap up documentation --- src/docbkx/index.xml | 4 ++-- src/docbkx/reference/redis.xml | 36 +++++++++++++++++++++++++++++++++- 2 files changed, 37 insertions(+), 3 deletions(-) diff --git a/src/docbkx/index.xml b/src/docbkx/index.xml index 4ebd50960..a24aacbf0 100644 --- a/src/docbkx/index.xml +++ b/src/docbkx/index.xml @@ -44,6 +44,7 @@ + + --> \ No newline at end of file diff --git a/src/docbkx/reference/redis.xml b/src/docbkx/reference/redis.xml index 2088d582d..1b844a7f4 100644 --- a/src/docbkx/reference/redis.xml +++ b/src/docbkx/reference/redis.xml @@ -36,7 +36,7 @@ High-Level Abstractions - providing a generified, user friendly template classes for interacting with Redis. explains the abstraction builds on top of the low-level Connection API to handle the infrastructural concerns and object conversion. - Support Services - that offer reusable components (built on the aforementioned abstractions) such as + Support Classes - that offer reusable components (built on the aforementioned abstractions) such as java.util.Collection backed by Redis as documented in @@ -279,5 +279,39 @@
Support Classes + + Package org.springframework.data.keyvalue.redis.support offers various reusable components that rely on Redis as a backing store. Curently the package contains + various JDK-based interface implementations on top of Redis such as atomic + counters and JDK Collections. + + The atomic counters make it easy to wrap Redis key incrementation while the collections allow easy management of Redis keys with minimal storage exposure or API leakage: in particular + the RedisSet and RedisZSet interfaces offer easy access to the set operations supported by Redis such as + intersection and union while RedisList implements the List, + Queue and Deque contracts (and their equivalent blocking siblings) on top of Redis, exposing the storage as a + FIFO (First-In-First-Out), LIFO (Last-In-First-Out) or capped collection with minimal configuration: + + + + + + + + + +]]> + + queue; + + public void addTag(String tag) { + queue.push(tag); + } +}]]>
\ No newline at end of file