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
Interface RedisConnectionFactory

All Superinterfaces:
  PersistenceExceptionTranslator

All Known Implementing Classes:
  JedisConnectionFactory, JredisConnectionFactory, LettuceConnectionFactory, SrpConnectionFactory

    public interface RedisConnectionFactory

extends PersistenceExceptionTranslator

Thread-safe factory of Redis connections.

Method Summary
`RedisConnection` | `getConnection()` Provides a suitable connection for interacting with Redis.
`boolean` | `getConvertPipelineAndTxResults()` Specifies if pipelined results should be converted to the expected data type.

Methods inherited from interface org.springframework.dao.support.PersistenceExceptionTranslator
`translateExceptionIfPossible`

Method Detail

### getConnection

    RedisConnection getConnection()

  Provides a suitable connection for interacting with Redis.

  Returns:
    connection for interacting with Redis.

### getConvertPipelineAndTxResults

    boolean getConvertPipelineAndTxResults()

  Specifies if pipelined results should be converted to the expected data type. If false, results of `RedisConnection.closePipeline()` and {RedisConnection#exec()} will be of the type returned by the underlying driver This method is mostly for backwards compatibility with 1.0. It is generally always a good idea to allow results to be converted and deserialized. In fact, this is now the default behavior.

  Returns:
    Whether or not to convert pipeline and tx results

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