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.
|
List<Object> |
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.List<Object> exec()
WATCH, EXEC can return aString multi()
OK.String watch(K... keys)
keys - the keyOK.String unwatch()
OK.Copyright © 2016. All rights reserved.