public NodeStatus getNodeStatus(int nodeId) {
    return loadCache.getNodeStatus(nodeId);
  }
Safely get NodeStatus by NodeId.

@param nodeId The specified NodeId
@return NodeStatus of the specified Node. Unknown if cache doesn't exist.
iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/manager/load/LoadManager.java