Commit Graph

47 Commits

Author SHA1 Message Date
Christoph Strobl
81b3b427dc DATAREDIS-323 - Remove links to forum.spring.io.
Point links to spring-data and spring-data-redis tags on stackoverflow.

Original Pull Request: #86
2014-07-09 21:30:42 +02:00
Christoph Strobl
d8b53a4c96 DATAREDIS-313 - Overhaul SCAN, HSCAN, SSCAN, ZSCAN operations.
Unify naming and return types. Update supported commands documentation. Remove key from BoundHashOperations and use getKey() instead.

Original pull request: #81.
2014-06-10 16:10:28 +02:00
Christoph Strobl
3414d2a837 DATAREDIS-307 - Add missing reference documentation for managed transactions.
Added explanation and code samples.

Original pull request: #75.
2014-05-21 14:00:45 +02:00
Christoph Strobl
d35375ec74 DATAREDIS-277 - Add support for 'SLAVEOF'.
'SLAVEOF' and 'SLAVEOF NO ONE' are available via 'RedisConnection' and 'RedisOperations' for 'jedis', 'jredis', 'lettuce' and 'srp'.

Original Pull Request: #57
2014-03-26 13:15:33 +01:00
Christoph Strobl
2679405e96 DATAREDIS-268 - Add support for 'CLIENT LIST'.
'RedisConnection' and 'RedisTemplate' have been extended by 'getClientList' retrieving client informations from redis. 'RedisClientInfo' provides access via specified getters as well as an more general approach directly using the keys (like 'qubuf').

The operation is available for 'jedis', 'lettuce' and 'srp'.

Original Pull Request: #53
2014-03-26 12:42:09 +01:00
Christoph Strobl
4bf438f563 DATAREDIS-270 - Add support for 'CLIENT GETNAME'.
Support for getting client connection name has been added for 'jedis', 'jredis' and 'srp' drivers.

Using 'jredis' will throw 'UnsupportedOperationException'.

Original Pull Request: #51
2014-03-26 12:05:28 +01:00
Christoph Strobl
e280a23550 DATAREDIS-269 - Add support for 'CLIENT SETNAME'.
Setting client name is possible for 'jedis', 'lettuce' and 'srp'.
Using 'jredis' throws 'UnspupportedOperationException'.

Original Pull Request: #54
2014-03-26 11:44:01 +01:00
Christoph Strobl
6a6d03eb4c DATAREDIS-267 - Add support for 'CLIENT KILL'.
Killing a client connection can be done via 'RedisConnection' and 'RedisOperations' using 'jedis', 'lettuce' and 'srp'.

We use dedicated parameters for host and port building up the redis format (host:port) for connection identification.

Original Pull Request: #56
2014-03-26 11:33:35 +01:00
Christoph Strobl
4b2ccbecb9 DATAREDIS-271 - Add support for 'pSetEx'.
Support for 'pSetEx' has been added for 'jedis' & 'srp'.
For 'lettuce' the command is emulated using 'eval'.

There is no support for 'pSetEx' when using 'jredis'.

'DefaultValueOperations.set' used with 'TimeUnit.MILLISECONDS' will fallback to 'setEx' in case 'pSetEx' is not supported by the driver in use.

Original pull request: #46.
2014-03-20 12:36:09 +01:00
Christoph Strobl
bc31655417 DATAREDIS-279 - Update documentation
Corrected typos and added copyright information.
Updated sync nature for subscriptions using RMLC.
Added RedisTemplate command reference.
Added include-fallback to appendix-schema reference.

Original pull request: #41.
2014-02-27 13:54:14 +01:00
Christoph Strobl
3a49fd14e5 DATAREDIS-266 - Update Documentation.
Updated links in javadoc. Added API javadoc with references to the redis commands. Updated reference manual. Updated Readme and contributing guide.
Updated (SCM and developer information in) gradle build and template.mf bundle manifest.

Original pull request: #38
2014-02-18 10:35:30 +01:00
Christoph Strobl
82578066e8 DATAREDIS-246 - RedisCacheManager.getCache() does not match the logical of CompositeCacheManager.
By default RedisCacheManager lazily initializes RedisCaches when requested. To put it into static mode a defined set of cache names has to be passed to the CacheManager.

We changed the implementation so it  makes use of AbstractTransactionalCache introduced in Spring 3.2 which properly registers caches. Additionally the loadRemoteCachesOnStartup switch allows to retrieve and initialize existing caches by loading keys form redis server.

Further on RedisCacheManager can be set in transaction aware mode so that values are only put into cache after successful commit of surrounding transaction.

Original pull request: #33
2014-02-17 13:39:18 +01:00
Christoph Strobl
e42e803603 DATAREDIS-254 - Clean up codebase to match spring-data conventions
Remove orphaned test context files.
Update documentation to reflect new version dependencies.
2014-01-28 10:55:12 +01:00
Thomas Darimont
c6d2d7f9c9 DATAREDIS-241 - Add a Jackson2 based RedisSerializer.
Introduced Jackson2JsonRedisSerializer and added optional dependency for Jackson2 core/databind (fasterxml) library.
Added additional parameterised test cases. Needed to increase the max active connections limit for the connection pools used in RedisMapTests.
2014-01-17 12:04:05 +01:00
Jennifer Hickey
4630de10d1 Update scripting doc 2013-08-05 16:07:14 -07:00
Jennifer Hickey
113c215554 Update doc on usage of StringRedisConn in RedisCallbacks 2013-08-05 14:07:29 -07:00
Jennifer Hickey
5e98b25fdd Update doc on usage of RedisTemplate without serializers 2013-08-05 14:06:49 -07:00
Jennifer Hickey
5d12e20c6d Update pipeline and tx documentation 2013-08-05 13:53:52 -07:00
Jennifer Hickey
e1d2a7952a Add doc on minimally supported Redis version 2.4 2013-08-01 18:44:16 -07:00
Jennifer Hickey
f90e373877 Fix incorrect doc on injection of opsForXXX 2013-07-25 09:50:42 -07:00
Jennifer Hickey
a0026ebc90 Update documentation for 1.1.0.M1 release 2013-07-01 12:51:39 -07:00
Jennifer Hickey
83b87b663e Add scripting documentation 2013-06-21 18:52:02 -07:00
Jennifer Hickey
265d4cd18f Add default implementation of JredisPool
- Add DefaultJredisPool to pool JRedis connections

- Prevent returning the same resource to the pool
multiple times on JredisConnection close

- Fixes DATAREDIS-154 previous JRedis pool left
broken connections in the pool
2013-06-11 18:02:07 -07:00
Jennifer Hickey
280e6a6ccc Upgrade to JRedis master
DATAREDIS-54, DATAREDIS-174, DATAREDIS-129

- Switch to original JRedis for 2.6 support

- Remove base64 encoding as new JRedis supports binary
keys

- Add JredisPool interface to replace removed
JRedisService and pool implementation

- Temporarily switch integration tests to use
non-pooled connections

- Throw more specific Exception on JRedis connection
failures
2013-06-11 17:56:25 -07:00
Jennifer Hickey
dffa1de6d1 Remove RJC driver due to lack of Redis 2.6 support
DATAREDIS-185
2013-06-11 15:25:01 -07:00
Jennifer Hickey
5dfb8c447f Add documentation on Redis transactions
DATAREDIS-125
2013-04-18 12:13:11 -07:00
Costin Leau
35671ab69d add Lettuce driver into the docs 2013-02-08 11:16:45 +02:00
Costin Leau
bd08ee0683 fix typo 2013-01-23 19:15:56 +02:00
Costin Leau
2c076a8c02 add docs on SRP connector 2012-06-26 21:39:40 +03:00
Costin Leau
aebc85d897 clarify passing of channel
DATAREDIS-77
2012-06-26 21:19:45 +03:00
Costin Leau
d536e70f82 update build system to Gradle 1.0 and latest plugin 2012-06-21 21:45:21 +03:00
Costin Leau
a6f79e2675 update docs
DATAREDIS-8
2012-03-29 18:58:46 +03:00
Costin Leau
1e6220f131 + minor doc update 2011-10-08 22:17:44 +03:00
Costin Leau
fd73e75ad8 + add several fixes
~ fix a potential NPE in RedisTemplate
 ~ add JDK 1.5 source/target compatibility
 ~ fix type in documentation
2011-07-27 10:48:22 +03:00
Costin Leau
bc3b947787 DATAREDIS-68
+ add docs on Spring Cache implementation for Redis
2011-07-18 12:42:32 +03:00
Costin Leau
582abd1ff7 docbook updates 2011-07-06 16:39:45 +03:00
Costin Leau
35cb6fc5e1 + update some references 2011-07-05 19:31:47 +03:00
Costin Leau
3217289401 + renamed org.springframework.data.keyvalue.redis to o.s.d.redis
+ eliminated Riak package
+ eliminate Core package
2011-07-05 19:18:31 +03:00
Costin Leau
690923b3c9 DATAKV-75
+ fixed item replacement
(note that ReplaceTask only accepts chars not strings and the GroovyStringTemplate seems to be fragile so the ${} got replaced with @@)
2011-07-04 21:05:08 +03:00
Costin Leau
2bc336929b Merge branch 'master' into gradle-build-ng
Conflicts:
	spring-data-redis/.classpath
	spring-data-redis/pom.xml
2011-07-01 15:34:01 +03:00
Costin Leau
050e461a8e DATAKV-68
+ merge channel and pattern into topic in the listener namespace
2011-04-22 17:49:29 +03:00
Costin Leau
9474504774 Merge branch 'master' into gradle-build-ng
Conflicts:
	pom.xml
	spring-data-redis/pom.xml
	spring-data-redis/template.mf
2011-04-21 21:05:04 +03:00
Costin Leau
6c0fa8ab75 + fixed archive creation 2011-04-21 15:52:17 +03:00
Costin Leau
a3bc705f04 + change tabs into spaces for better reference docs rendering 2011-02-09 13:38:20 +02:00
Costin Leau
2b4617eb5c + upgrade reference to docbook 5.0 2011-02-08 19:48:34 +02:00
Costin Leau
2440975a14 various tweaks 2011-02-08 15:12:13 +02:00
Costin Leau
19355aa9dd + rearrange docs folder 2011-02-08 13:06:14 +02:00