Class TransactionResultConverter<T>

java.lang.Object
org.springframework.data.redis.connection.convert.TransactionResultConverter<T>
Type Parameters:
T - The type of FutureResult 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 FutureResults. Converts any Exception objects returned in the list as well, using the supplied Exception Converter
Author:
Jennifer Hickey, Christoph Strobl, Mark Paluch
  • Constructor Details

    • TransactionResultConverter

      public TransactionResultConverter(Queue<FutureResult<T>> txResults, org.springframework.core.convert.converter.Converter<Exception,org.springframework.dao.DataAccessException> exceptionConverter)
  • Method Details