-
Nov 28th, 2011, 04:49 PM
#1
Redis increment under WATCH
I'm trying to increment a value after setting a watch on it, but I'm having trouble finding out how the transaction will fail.
I'm calling WATCH and retrieving a value. Once I've tested the value, I call back to Redis with multi(), increment() and exec(). Neither the Javadoc nor the reference docs address how the transaction will fail, and I don't see a Response object available to me. I'd appreciate any insight.
jason
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules