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