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