public interface RBatch
| 限定符和类型 | 方法和说明 |
|---|---|
void |
discard()
Discard batched commands and release allocated buffers used for parameters encoding.
|
org.redisson.api.RFuture<Void> |
discardAsync()
Discard batched commands and release allocated buffers used for parameters encoding.
|
org.redisson.api.BatchResult<?> |
execute()
Executes all operations accumulated during async methods invocations.
|
org.redisson.api.RFuture<org.redisson.api.BatchResult<?>> |
executeAsync()
Executes all operations accumulated during async methods invocations asynchronously.
|
org.redisson.api.BatchResult<?> execute()
throws org.redisson.client.RedisException
If cluster configuration used then operations are grouped by slot ids and may be executed on different servers. Thus command execution order could be changed
org.redisson.client.RedisException - in case of any errororg.redisson.api.RFuture<org.redisson.api.BatchResult<?>> executeAsync()
In cluster configurations operations grouped by slot ids so may be executed on different servers. Thus command execution order could be changed
void discard()
org.redisson.api.RFuture<Void> discardAsync()
Copyright © 2024. All rights reserved.