Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.springframework.data.redis.connection.convert
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:
  Converter<List<Object>,List<Object>>

    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`

Constructor Summary
`TransactionResultConverter(Queue<FutureResult<T>> txResults, Converter<Exception,DataAccessException> exceptionConverter)`

Method Summary
`List<Object>` | `convert(List<Object> execResults)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### TransactionResultConverter

    public TransactionResultConverter(Queue<FutureResult<T>> txResults,
                                      Converter<Exception,DataAccessException> exceptionConverter)

Method Detail

### convert

    public List<Object> convert(List<Object> execResults)

  Specified by:
    `convert` in interface `Converter<List<Object>,List<Object>>`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD