Example usage for org.springframework.data.redis.connection.lettuce LettuceConnection setConvertPipelineAndTxResults

List of usage examples for org.springframework.data.redis.connection.lettuce LettuceConnection setConvertPipelineAndTxResults

Introduction

In this page you can find the example usage for org.springframework.data.redis.connection.lettuce LettuceConnection setConvertPipelineAndTxResults.

Prototype

public void setConvertPipelineAndTxResults(boolean convertPipelineAndTxResults) 

Source Link

Document

Specifies if pipelined and transaction results should be converted to the expected data type.

Usage

From source file:org.springframework.data.redis.connection.lettuce.LettuceConnectionFactory.java

public RedisConnection getConnection() {

    if (isClusterAware()) {
        return getClusterConnection();
    }// ww  w  .  j  av a 2 s.  co  m

    LettuceConnection connection = new LettuceConnection(getSharedConnection(), timeout, client, pool, dbIndex);
    connection.setConvertPipelineAndTxResults(convertPipelineAndTxResults);
    return connection;
}