Update documentation for 1.1.0.M1 release

This commit is contained in:
Jennifer Hickey
2013-07-01 12:51:39 -07:00
parent f4ba74e400
commit a0026ebc90
3 changed files with 65 additions and 5 deletions

View File

@@ -5,6 +5,62 @@ http://www.springsource.org/spring-data/redis
Commit changelog: http://github.com/SpringSource/spring-data-redis/tree/v[version]
Issues changelog: http://jira.springsource.org/secure/ReleaseNote.jspa?projectId=10604
Changes in version 1.1.0.M1 (2013-07-02)
----------------------------------------
General
* Added Redis 2.6 millisecond expiration commands (pexpire, pttl, etc)
* Added Redis 2.6 bit commands (bitop, bitcount)
* Added support for Redis 2.6 scripting
* Added Redis 2.6 incrbyfloat and hincrbyfloat commands
* Added Redis 2.6 dump and restore commands
* Added Redis 2.6 info by section
* Added Redis 2.6 srandmember with count
* Removed RJC due to lack of Redis 2.6 support
* Upgraded JRedis from older fork (https://github.com/anthonylauzon/jredis) to
latest original master (https://github.com/alphazero/jredis)
* Made Jedis dependency optional in the build
Package o.s.d.redis.core
* Changed ValueOperations.multiSetIfAbsent return type from void to Boolean
Package o.s.d.redis.connection
* Changed StringRedisCommands.mSetNX return type from void to Boolean
Package o.s.d.redis.connection.jredis
* Removed base64 key encoding, since binary keys are supported in JRedis upgrade.
Fixes issue where keys method with patterns was not working due to encoding.
* Added JredisPool, since pool impl was removed from JRedis. Also fixes
issue with previous pool where failed connections were not removed.
Package o.s.d.redis.connection.lettuce
* Added LettucePool for optional pooling of blocking/tx Lettuce connections
* Added optional Redis password to LettuceConnectionFactory
* Modified LettuceConnectionFactory to throw RedisConnectionFailureExceptions instead
of native Exceptions
Changes in version 1.0.5.RELEASE (2013-07-02)
---------------------------------------------
General
* Upgraded to SRP 0.7
* Upgraded to Lettuce 2.3.3
Package o.s.d.redis.core
* Fixed left/right pop timeouts converting to 0 seconds (blocking indefinitely)
Package o.s.d.redis.connection.lettuce
* Fixed exec returning empty list instead of null if watched variable modified
Package o.s.d.redis.connection.srp
* Fixed exec throwing TransactionFailedException instead of returning null if watched
variable modified
Package o.s.d.redis.listener.adapter
* Added MessageListenerAdapter constructor with delegate and listener method
Changes in version 1.0.4.RELEASE (2013-04-18)
---------------------------------------------

View File

@@ -162,7 +162,7 @@
<section id="redis:connectors:srp">
<title>Configuring SRP connector</title>
<para><ulink url="https://github.com/spullara/redis-protocol">SRP</ulink> (an acronym for Sam's Redis Protocol) is the forth, open-source connector supported by
<para><ulink url="https://github.com/spullara/redis-protocol">SRP</ulink> (an acronym for Sam's Redis Protocol) is the third open-source connector supported by
Spring Data Redis through the <literal>org.springframework.data.redis.connection.srp</literal> package.</para>
<para>By now, its configuration is probably easy to guess:</para>
@@ -184,7 +184,7 @@
<section id="redis:connectors:lettuce">
<title>Configuring Lettuce connector</title>
<para><ulink url="https://github.com/wg/lettuce">Lettuce</ulink> is the fifth open-source connector supported by
<para><ulink url="https://github.com/wg/lettuce">Lettuce</ulink> is the fourth open-source connector supported by
Spring Data Redis through the <literal>org.springframework.data.redis.connection.lettuce</literal> package.</para>
<para>Its configuration is probably easy to guess:</para>
@@ -196,11 +196,15 @@
xsi:schemaLocation="
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
<bean id="srpConnectionFactory" class="org.springframework.data.redis.connection.lettuce.LettuceConnectionFactory"
<bean id="lettuceConnectionFactory" class="org.springframework.data.redis.connection.lettuce.LettuceConnectionFactory"
p:host-name="server" p:port="6379"/>
</beans>]]></programlisting>
<para>Needless to say, the configuration is quite similar to that of the other connectors.</para>
<para>There are also a few Lettuce-specific connection parameters that can be tweaked.
By default, all <literal>LettuceConnections</literal> created by the <literal>LettuceConnectionFactory</literal> share the same
thread-safe native connection for all non-blocking and non-transactional operations. Set <literal>shareNativeConnection</literal> to false to use a dedicated
connection each time. <literal>LettuceConnectionFactory</literal> can also be configured with a <literal>LettucePool</literal> to use for pooling
blocking and transactional connections, or all connections if <literal>shareNativeConnection</literal> is set to false.</para>
</section>
</section>

View File

@@ -127,7 +127,7 @@ public class JredisPool implements Pool<JRedis> {
* @param timeout
* The socket timeout or 0 to use the default socket timeout
* @param poolConfig
* The pool {@link COnfig}
* The pool {@link Config}
*/
public JredisPool(String hostName, int port, int dbIndex, String password, int timeout,
Config poolConfig) {