Skip to content

Commit

Permalink
Addressed PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
GumpacG committed Jun 13, 2024
1 parent 61f58fa commit b3475bf
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import java.util.concurrent.CompletableFuture;

/**
* Supports commands for the "Transactions Commands" group for a standalone and cluster clients.
* Supports commands for the "Transactions Commands" group for standalone and cluster clients.
*
* @see <a href="https://redis.io/commands/?group=transactions">Transactions Commands</a>
*/
Expand All @@ -20,7 +20,7 @@ public interface TransactionsBaseCommands {
* @return The string <code>OK</code>.
* @example
* <pre>{@code
* client.watch("sampleKey");
* client.watch(new String[] {"sampleKey"});
* transaction.set("sampleKey", "foobar");
* client.exec(transaction).get(); // Executes successfully and keys are unwatched.
* }</pre>
Expand All @@ -35,7 +35,7 @@ public interface TransactionsBaseCommands {
* @return The string <code>OK</code>.
* @example
* <pre>{@code
* client.watch("sampleKey");
* client.watch(new String[] {"sampleKey"});
* client.unwatch(); // Flushes "sampleKey" from watched keys.
* }</pre>
*/
Expand Down

0 comments on commit b3475bf

Please sign in to comment.