code: public void setTimeout(Duration timeout) {
  
          LettuceAssert.notNull(timeout, "Timeout must not be null");
          LettuceAssert.isTrue(!timeout.isNegative(), "Timeout must be greater or equal 0");
  
          this.timeout = timeout;
      }
docs: Sets the command timeout for synchronous command execution.
  
  @param timeout the command timeout for synchronous command execution.
  @since 5.0