diff --git a/src/main/java/com/lambdaworks/redis/api/async/RedisTransactionalAsyncCommands.java b/src/main/java/com/lambdaworks/redis/api/async/RedisTransactionalAsyncCommands.java index e51c642521..49e2c3d4b8 100644 --- a/src/main/java/com/lambdaworks/redis/api/async/RedisTransactionalAsyncCommands.java +++ b/src/main/java/com/lambdaworks/redis/api/async/RedisTransactionalAsyncCommands.java @@ -42,7 +42,9 @@ public interface RedisTransactionalAsyncCommands { * * @return List<Object> array-reply each element being the reply to each of the commands in the atomic transaction. * - * When using {@code WATCH}, {@code EXEC} can return a + * When using {@code WATCH}, {@code EXEC} can return a {@link TransactionResult#wasDiscarded discarded + * TransactionResult}. + * @see TransactionResult#wasDiscarded */ RedisFuture> exec(); diff --git a/src/main/java/com/lambdaworks/redis/api/rx/RedisTransactionalReactiveCommands.java b/src/main/java/com/lambdaworks/redis/api/rx/RedisTransactionalReactiveCommands.java index 2012191af8..ce583543b5 100644 --- a/src/main/java/com/lambdaworks/redis/api/rx/RedisTransactionalReactiveCommands.java +++ b/src/main/java/com/lambdaworks/redis/api/rx/RedisTransactionalReactiveCommands.java @@ -40,7 +40,9 @@ public interface RedisTransactionalReactiveCommands { * * @return Object array-reply each element being the reply to each of the commands in the atomic transaction. * - * When using {@code WATCH}, {@code EXEC} can return a + * When using {@code WATCH}, {@code EXEC} can return a {@link TransactionResult#wasDiscarded discarded + * TransactionResult}. + * @see TransactionResult#wasDiscarded */ Observable exec(); diff --git a/src/main/java/com/lambdaworks/redis/api/sync/RedisTransactionalCommands.java b/src/main/java/com/lambdaworks/redis/api/sync/RedisTransactionalCommands.java index 32eb20722b..bce8d55a84 100644 --- a/src/main/java/com/lambdaworks/redis/api/sync/RedisTransactionalCommands.java +++ b/src/main/java/com/lambdaworks/redis/api/sync/RedisTransactionalCommands.java @@ -40,7 +40,9 @@ public interface RedisTransactionalCommands { * * @return List<Object> array-reply each element being the reply to each of the commands in the atomic transaction. * - * When using {@code WATCH}, {@code EXEC} can return a + * When using {@code WATCH}, {@code EXEC} can return a {@link TransactionResult#wasDiscarded discarded + * TransactionResult}. + * @see TransactionResult#wasDiscarded */ List exec(); diff --git a/src/main/templates/com/lambdaworks/redis/api/RedisTransactionalCommands.java b/src/main/templates/com/lambdaworks/redis/api/RedisTransactionalCommands.java index 438c8b3513..b191ff52c1 100644 --- a/src/main/templates/com/lambdaworks/redis/api/RedisTransactionalCommands.java +++ b/src/main/templates/com/lambdaworks/redis/api/RedisTransactionalCommands.java @@ -39,7 +39,9 @@ public interface RedisTransactionalCommands { * * @return List<Object> array-reply each element being the reply to each of the commands in the atomic transaction. * - * When using {@code WATCH}, {@code EXEC} can return a + * When using {@code WATCH}, {@code EXEC} can return a {@link TransactionResult#wasDiscarded discarded + * TransactionResult}. + * @see TransactionResult#wasDiscarded */ List exec();