public interface Batcher
SimpleBatcher| Modifier and Type | Field and Description |
|---|---|
static Batcher |
NONE
Batcher that does not support batching.
|
| Modifier and Type | Method and Description |
|---|---|
io.lettuce.core.dynamic.BatchTasks |
batch(RedisCommand<Object,Object,Object> command,
CommandBatching batching)
Add command to the
Batcher. |
default io.lettuce.core.dynamic.BatchTasks |
flush()
Force-flush the batch.
|
static final Batcher NONE
io.lettuce.core.dynamic.BatchTasks batch(RedisCommand<Object,Object,Object> command, CommandBatching batching)
Batcher.command - the command to batch.batching - invocation-specific CommandBatching control. May be null to use default batching
settings.empty result or a result containing the batched
commands.default io.lettuce.core.dynamic.BatchTasks flush()
Copyright © 2021 lettuce.io. All rights reserved.