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
- All Implemented Interfaces:
org.springframework.core.convert.converter.Converter<List<Object>,
List<Object>>
public class TransactionResultConverter<T>
extends Object
implements org.springframework.core.convert.converter.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, org.springframework.core.convert.converter.Converter<Exception, org.springframework.dao.DataAccessException> exceptionConverter) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.core.convert.converter.Converter
andThen
-
Constructor Details
-
TransactionResultConverter
public TransactionResultConverter(Queue<FutureResult<T>> txResults, org.springframework.core.convert.converter.Converter<Exception, org.springframework.dao.DataAccessException> exceptionConverter)
-
-
Method Details