public interface BatchExecutor
BatchSize.
Commands remain in a batch queue until the batch size is reached or the queue is flushed. If
the batch size is not reached, commands remain not executed.
Commands that fail during the batch cause a BatchException while non-failed commands remain executed successfully.
BatchSize| Modifier and Type | Method and Description |
|---|---|
void |
flush()
Flush the command queue resulting in the queued commands being executed.
|
void flush()
throws BatchException
BatchException - if at least one command failed.Copyright © 2019 lettuce.io. All rights reserved.