You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
whether it is listening or not, <interfacename>RedisConnection</interfacename>
57
57
provides <methodname>getSubscription</methodname> and <methodname>isSubscribed</methodname> method.</para>
58
58
59
-
<important>When using Jedis or JRedis connectors, subscribing commands are synchronous and thus blocking. That is, calling subscribe on a connection will cause
59
+
<important>Subscription commands in Spring Data Redis are blocking. That is, calling subscribe on a connection will cause
60
60
the current thread to block as it will start waiting for messages - the thread will be released only if the subscription
61
61
is canceled, that is an additional thread invokes <methodname>unsubscribe</methodname> or <methodname>pUnsubscribe</methodname>
62
62
on the <emphasis>same</emphasis> connection. See <linklinkend="redis:pubsub:subscribe:containers">message listener container</link> below
<para>The XML above configures a <classname>DefaultRedisScript</classname> pointing to a file called <literal>checkandset.lua</literal>, which is
56
52
expected to return a boolean value. The script <literal>resultType</literal> should be one of Long, Boolean, List, or deserialized value type. It can also be null if the
57
53
script returns a throw-away status (i.e "OK"). It is ideal to configure a single instance of <classname>DefaultRedisScript</classname> in your application context to avoid
58
-
re-calcuation of the script's SHA1 on every script execution.
54
+
re-calculation of the script's SHA1 on every script execution.
59
55
</para>
60
56
61
57
<para>The checkAndSet method above then executes the configured <interfacename>RedisScript</interfacename> with the provided key and arguments and returns the result.</para>
Copy file name to clipboardExpand all lines: docs/src/reference/docbook/reference/redis.xml
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -134,7 +134,7 @@
134
134
p:host-name="server" p:port="6379"/>
135
135
</beans>]]></programlisting>
136
136
137
-
<para>The configuration is quite similar to Jedis, with one notable exception. By default, the <literal>JedisConnectionFactory</literal> pools connections.
137
+
<para>The configuration is quite similar to Jedis, with one notable exception. By default, the <literal>JredisConnectionFactory</literal> pools connections.
138
138
In order to use a connection pool with JRedis, configure the <literal>JredisConnectionFactory</literal> with an instance of <literal>JredisPool</literal>. For example:
0 commit comments