public interface RedisConnectionFactory extends PersistenceExceptionTranslator
| Modifier and Type | Method and Description |
|---|---|
RedisConnection |
getConnection()
Provides a suitable connection for interacting with Redis.
|
boolean |
getConvertPipelineAndTxResults()
Specifies if pipelined results should be converted to the expected data type.
|
translateExceptionIfPossibleRedisConnection getConnection()
boolean getConvertPipelineAndTxResults()
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.