public class BatchException extends RedisCommandExecutionException
Commands that fail during the batch cause a BatchException while non-failed commands remain executed successfully.
BatchExecutor,
BatchSize,
CommandBatching,
Serialized Form| Constructor and Description |
|---|
BatchException(List<RedisCommand<?,?,?>> failedCommands)
Create a new
BatchException. |
| Modifier and Type | Method and Description |
|---|---|
List<RedisCommand<?,?,?>> |
getFailedCommands() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic BatchException(List<RedisCommand<?,?,?>> failedCommands)
BatchException.failedCommands - List of failed RedisCommands.public List<RedisCommand<?,?,?>> getFailedCommands()
Copyright © 2021 lettuce.io. All rights reserved.