code: public <K, V> RedisAsyncConnection<K, V> connectAsync(RedisCodec<K, V> codec) {
          BlockingQueue<Command<K, V, ?>> queue = new LinkedBlockingQueue<Command<K, V, ?>>();
  
          CommandHandler<K, V> handler = new CommandHandler<K, V>(queue);
          RedisAsyncConnection<K, V> connection = new RedisAsyncConnection<K, V>(queue, codec, timeout, unit);
  
          return connect(handler, connection);
      }
docs: Open a new asynchronous connection to the redis server. Use the supplied
  {@link RedisCodec codec} to encode/decode keys and values.
  
  @param codec Use this codec to encode/decode keys and values.
  
  @return A new connection.