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 FormConstructor 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, toString
public BatchException(List<RedisCommand<?,?,?>> failedCommands)
BatchException
.failedCommands
- List
of failed RedisCommand
s.public List<RedisCommand<?,?,?>> getFailedCommands()
Copyright © 2023 lettuce.io. All rights reserved.