List of usage examples for org.springframework.data.redis.connection.lettuce LettuceConnection LettuceConnection
@Deprecated public LettuceConnection(@Nullable StatefulRedisConnection<byte[], byte[]> sharedConnection, long timeout, @Nullable AbstractRedisClient client, @Nullable LettucePool pool, int defaultDbIndex)
From source file:org.springframework.data.redis.connection.lettuce.LettuceConnectionFactory.java
public RedisConnection getConnection() { if (isClusterAware()) { return getClusterConnection(); }/*from w w w .j a v a2s . c o m*/ LettuceConnection connection = new LettuceConnection(getSharedConnection(), timeout, client, pool, dbIndex); connection.setConvertPipelineAndTxResults(convertPipelineAndTxResults); return connection; }