docs: private void addLog(NotifyEvent event, List<Node> nodes) {
          List<NodeOnOfflineLog> logs = new ArrayList<NodeOnOfflineLog>(nodes.size());
  
          for (Node node : nodes) {
              NodeOnOfflineLog log = new NodeOnOfflineLog();
              log.setLogTime(new Date());
              log.setEvent(event == NotifyEvent.ADD ? "ONLINE" : "OFFLINE");
  
              log.setClusterName(node.getClusterName());
              log.setCreateTime(node.getCreateTime());
              log.setGroup(node.getGroup());
              log.setHostName(node.getHostName());
              log.setIdentity(node.getIdentity());
              log.setIp(node.getIp());
              log.setPort(node.getPort());
              log.setThreads(node.getThreads());
              log.setNodeType(node.getNodeType());
              log.setHttpCmdPort(node.getHttpCmdPort());
  
              logs.add(log);
          }
  
          appContext.getBackendNodeOnOfflineLogAccess().insert(logs);
      }