Class TransactionResultConverter<T>
java.lang.Object
org.springframework.data.redis.connection.convert.TransactionResultConverter<T>
- Type Parameters:
T
- The type ofFutureResult
of the individual tx operations
public class TransactionResultConverter<T>
extends Object
implements Converter<List<Object>,List<Object>>
Converts the results of transaction exec using a supplied Queue of
FutureResult
s. Converts any Exception
objects returned in the list as well, using the supplied Exception Converter
- Author:
- Jennifer Hickey, Christoph Strobl, Mark Paluch
-
Constructor Summary
ConstructorDescriptionTransactionResultConverter
(Queue<FutureResult<T>> txResults, Converter<Exception, DataAccessException> exceptionConverter) -
Method Summary