Commit Graph

410 Commits

Author SHA1 Message Date
Oliver Gierke
2f07334363 DATAREDIS-447 - Prepare next development iteration. 2016-02-12 15:43:39 +01:00
Oliver Gierke
b564d692d7 DATAREDIS-447 - Release version 1.7 M1 (Hopper). 2016-02-12 15:42:47 +01:00
Oliver Gierke
a02f266fec DATAREDIS-447 - Prepare 1.7 M1 (Hopper). 2016-02-12 15:36:20 +01:00
Mark Paluch
93fa71fd2c DATAREDIS-458 - Upgrade to lettuce 3.4.1.Final. 2016-02-11 14:55:10 +01:00
Mark Paluch
be40b0853a DATAREDIS-452 - Improve thread synchronization in RedisCacheTest.testCacheGetSynchronized.
Original Pull Request: #165
2016-02-10 14:57:51 +01:00
Christoph Strobl
c5047f40c6 DATAREDIS-315 - Add initial support for redis cluster (jedis/lettuce).
Cluster support is based on the very same building blocks as non clustered communication. RedisClusterConnection and extension to RedisConnection handles the communication with the Redis Cluster and translates errors into the Spring DAO exception hierarchy.

Redirects for to a specific keys to the corresponding slot serving node are handled by the driver libraries, higher level functions like collecting information accross nodes, or sending commands to all nodes in the cluster that are covered by RedisClusterConnection utilizing a ClusterCommandExecutor distributing commands accross the cluster and collecting results.

RedisTemplate provides access to cluster specific operations via the ClusterOperations interface that can be obtained via RedisTemplate.opsForCluster(). This allows to execute commands explicitly on a single node within the cluster while retaining de-/serialization features configured for the template.

Original pull request: #158.
2016-02-09 14:53:33 +01:00
Christoph Strobl
4893dc1533 DATAREDIS-315 - Bump driver lib versions (jedis/lettuce).
Original pull request: #158.
2016-02-09 14:53:28 +01:00
Christoph Strobl
bc962f1c08 DATAREDIS-419 - Remove Gradle build files. Activate Maven build.
Remove Gradle related build files and update version in Maven pom.xml to reflect current development iteration.

Original Pull Request: #164
2016-02-04 19:36:09 +01:00
Christoph Strobl
1f97623a7c DATAREDIS-443 - Add Support for Spring 4.3 synchronized mode to RedisCache.
As of Spring Framework 4.3.RC1, the `Cache` interface has a new `<T> T get(Object key, Callable<T> valueLoader);` method (see SPR-9254).

If no entry for the given key is found, the `Callable` is invoked to compute/load the value that is then put into redis and returned. Additionally concurrent calls get synchronized so that the `Callable` is only called once.

Using Spring Framework 4.3 failures result in `o.s.c.Cache$ValueRetrievalException` prior versions use `RedisSystemException`.

Original pull request: #162.
2016-02-04 09:13:42 +01:00
Christoph Strobl
b6e90752e7 DATAREDIS-419 - Move project build to Maven.
- Introduce Maven pom.xml.
- Moved Asciidoctor files to src/main/asciidoc.
- Moved notice.txt etc. to src/main/resources.
- Add logback.xml
- Update Makefile to use maven and pick build profiles.
- Update template.mf to pick up versions in pom.xml
- Add build matrix for spring versions to .travis.yml
- Use container based travis infrastructure.
- Update readme.
2016-01-29 20:09:21 +01:00