30
30
* <p>
31
31
* Streams of methods returning {@code Mono<K>} or {@code Flux<M>} are terminated with
32
32
* {@link org.springframework.dao.InvalidDataAccessApiUsageException} when
33
- * {@link org.springframework.data.redis.serializer.RedisElementReader#read(ByteBuffer)} returns {@code null} for a
34
- * particular element as Reactive Streams prohibit the usage of {@code null} values.
33
+ * {@link org.springframework.data.redis.serializer.RedisElementReader#read(ByteBuffer)} returns {@literal null} for a
34
+ * particular element as Reactive Streams prohibit the usage of {@literal null} values.
35
35
*
36
36
* @author Mark Paluch
37
37
* @author Christoph Strobl
@@ -45,7 +45,7 @@ public interface ReactiveScriptExecutor<K> {
45
45
*
46
46
* @param script must not be {@literal null}.
47
47
* @return the return value of the script or {@link Flux#empty()} if {@link RedisScript#getResultType()} is
48
- * {@literal null}, likely indicating a throw-away status reply (i.e. "OK")
48
+ * {@literal null}, likely indicating a throw-away status reply (i.e. "OK").
49
49
*/
50
50
default <T > Flux <T > execute (RedisScript <T > script ) {
51
51
return execute (script , Collections .emptyList ());
@@ -57,7 +57,7 @@ default <T> Flux<T> execute(RedisScript<T> script) {
57
57
* @param script must not be {@literal null}.
58
58
* @param keys must not be {@literal null}.
59
59
* @return the return value of the script or {@link Flux#empty()} if {@link RedisScript#getResultType()} is
60
- * {@literal null}, likely indicating a throw-away status reply (i.e. "OK")
60
+ * {@literal null}, likely indicating a throw-away status reply (i.e. "OK").
61
61
*/
62
62
default <T > Flux <T > execute (RedisScript <T > script , List <K > keys ) {
63
63
return execute (script , keys , Collections .emptyList ());
@@ -67,8 +67,8 @@ default <T> Flux<T> execute(RedisScript<T> script, List<K> keys) {
67
67
* Executes the given {@link RedisScript}
68
68
*
69
69
* @param script The script to execute. Must not be {@literal null}.
70
- * @param keys Any keys that need to be passed to the script. Must not be {@literal null}.
71
- * @param args Any args that need to be passed to the script. Can be {@literal empty}.
70
+ * @param keys any keys that need to be passed to the script. Must not be {@literal null}.
71
+ * @param args any args that need to be passed to the script. Can be {@literal empty}.
72
72
* @return The return value of the script or {@link Flux#empty()} if {@link RedisScript#getResultType()} is
73
73
* {@literal null}, likely indicating a throw-away status reply (i.e. "OK")
74
74
*/
@@ -79,8 +79,8 @@ default <T> Flux<T> execute(RedisScript<T> script, List<K> keys) {
79
79
* arguments and result.
80
80
*
81
81
* @param script The script to execute. must not be {@literal null}.
82
- * @param keys Any keys that need to be passed to the script
83
- * @param args Any args that need to be passed to the script
82
+ * @param keys any keys that need to be passed to the script.
83
+ * @param args any args that need to be passed to the script.
84
84
* @param argsWriter The {@link RedisElementWriter} to use for serializing args. Must not be {@literal null}.
85
85
* @param resultReader The {@link RedisElementReader} to use for serializing the script return value. Must not be
86
86
* {@literal null}.
0 commit comments