public void forceUpdateNodeCache(
      NodeType nodeType, int nodeId, NodeHeartbeatSample heartbeatSample) {
    switch (nodeType) {
      case ConfigNode:
        loadCache.cacheConfigNodeHeartbeatSample(nodeId, heartbeatSample);
        break;
      case DataNode:
        loadCache.cacheDataNodeHeartbeatSample(nodeId, heartbeatSample);
        break;
      case AINode:
        loadCache.cacheAINodeHeartbeatSample(nodeId, heartbeatSample);
        break;
      default:
        break;
    }
    loadCache.updateNodeStatistics(true);
    eventService.checkAndBroadcastNodeStatisticsChangeEventIfNecessary();
  }
Force update the specified Node's cache, update statistics and broadcast statistics change
event if necessary.

@param nodeType Specified NodeType
@param nodeId Specified NodeId
@param heartbeatSample Specified NodeHeartbeatSample
iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/manager/load/LoadManager.java