public boolean updBrokerNode(String nodeId, String createId,
            StringBuilder sBuffer, ProcessResult result) {
        TimeoutInfo timeoutInfo = brokerRegMap.get(nodeId);
        if (timeoutInfo == null) {
            result.setFailResult(TErrCodeConstants.HB_NO_NODE,
                    sBuffer.append("Invalid node id:").append(nodeId)
                            .append(", you have to append node first!").toString());
            sBuffer.delete(0, sBuffer.length());
            return result.isSuccess();
        }
        if (!createId.equals(timeoutInfo.getSecondKey())) {
            result.setFailResult(TErrCodeConstants.HB_NO_NODE,
                    sBuffer.append("Invalid node block id:").append(nodeId)
                            .append(", you have to append node first!").toString());
            sBuffer.delete(0, sBuffer.length());
            return result.isSuccess();
        }
        timeoutInfo.updTimeoutTime(this.brokerTimeoutDlt);
        result.setSuccResult(null);
        return result.isSuccess();
    }
Update a broker node.

@param nodeId the id of node to be updated
@throws HeartbeatException if the timeout info of the node is not found
inlong-tubemq/tubemq-server/src/main/java/org/apache/inlong/tubemq/server/common/heartbeat/HeartbeatManager.java