protected BaseRedisCache setJedisConnector(JedisConnector jedisConnector,
            boolean setMyOwnRedis) {
        if (myOwnRedis && this.jedisConnector != null) {
            this.jedisConnector.close();
        }
        this.jedisConnector = jedisConnector;
        myOwnRedis = setMyOwnRedis;
        return this;
    }
protected BaseRedisCache setJedisConnector(JedisConnector jedisConnector,
            boolean setMyOwnRedis) {
        if (myOwnRedis && this.jedisConnector != null) {
            this.jedisConnector.close();
        }
        this.jedisConnector = jedisConnector;
        myOwnRedis = setMyOwnRedis;
        return this;
    }
protected BaseRedisCache setJedisConnector ( JedisConnector jedisConnector , boolean setMyOwnRedis ) { if ( myOwnRedis && this . jedisConnector != null ) { this . jedisConnector . close ( ) ; } this . jedisConnector = jedisConnector ; myOwnRedis = setMyOwnRedis ; return this ; }
Attach a {@link JedisConnector} to this cache.

@param jedisConnector
@param setMyOwnRedis
set {@link #myOwnRedis} to {@code true} or not.
@return
@since 0.6.3.3
Attach a { @link JedisConnector } to this cache .