Module lettuce.core

Class BatchException

All Implemented Interfaces:
Serializable

public class BatchException
extends RedisCommandExecutionException
Batch exception to collect multiple errors from batched command execution.

Commands that fail during the batch cause a BatchException while non-failed commands remain executed successfully.

Since:
5.0
Author:
Mark Paluch
See Also:
BatchExecutor, BatchSize, CommandBatching, Serialized Form
  • Constructor Details

  • Method Details

    • getFailedCommands

      public List<RedisCommand<?,​?,​?>> getFailedCommands()
      Returns:
      the failed commands.