|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RedisTxCommands
Transaction/Batch specific commands supported by Redis.
Method Summary | |
---|---|
void |
discard()
Discard all commands issued after multi() . |
List<Object> |
exec()
Executes all queued commands in a transaction started with multi() . |
void |
multi()
Mark the start of a transaction block. |
void |
unwatch()
Flushes all the previously #watch(byte[]) keys. |
void |
watch(byte[]... keys)
Watch given keys for modifications during transaction started with multi() . |
Method Detail |
---|
void multi()
exec()
or rolled back using discard()
.
http://redis.io/commands/multi
List<Object> exec()
multi()
. #watch(byte[])
the operation will fail if any of watched keys has been modified.
http://redis.io/commands/exec
void discard()
multi()
.
http://redis.io/commands/discard
void watch(byte[]... keys)
keys
for modifications during transaction started with multi()
.
keys
- http://redis.io/commands/watch
void unwatch()
#watch(byte[])
keys.
http://redis.io/commands/unwatch
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |