code: public synchronized void setWriteServer(final Server writeServer) {
          logger.debug("[setWriteServer] uri = {}", (writeServer == null) ? "NULL" : writeServer.getDataUri());
  
          if (this.writeServer != null && writeServer != null && this.writeServer.equals(writeServer)) return;
  
          this.writeServer = writeServer;
          refreshServers();
      }
docs: Changes the current master / write server.
  @param writeServer Neo4j server to use for write access