K - Key type.V - Value type.public interface RedisTransactionalCommands<K,V>
| Modifier and Type | Method and Description |
|---|---|
String |
discard()
Discard all commands issued after MULTI.
|
TransactionResult |
exec()
Execute all commands issued after MULTI.
|
String |
multi()
Mark the start of a transaction block.
|
String |
unwatch()
Forget about all watched keys.
|
String |
watch(K... keys)
Watch the given keys to determine execution of the MULTI/EXEC block.
|
String discard()
OK.TransactionResult exec()
WATCH, EXEC can return a discarded
TransactionResult.TransactionResult.wasDiscarded()String multi()
OK.String watch(K... keys)
keys - the keyOK.String unwatch()
OK.Copyright © 2019 lettuce.io. All rights reserved.