docs: public void setAutoFlushCommands(boolean autoFlush) {
  
          synchronized (stateLock) {
              this.autoFlushCommands = autoFlush;
              connectionProvider.forEach(connection -> connection.setAutoFlushCommands(autoFlush));
          }
      }