提交 4a91d911 编写于 作者: Y youyong205

fix concurrent bug

上级 15360723
......@@ -121,12 +121,14 @@ public class HeartbeatAnalyzer extends AbstractMessageAnalyzer<HeartbeatReport>
}
}
Extension item = info.findOrCreateExtension("dal");
for (Extension ex : info.getExtensions().values()) {
Map<String, String> propertis = ex.getDynamicAttributes();
for (Entry<String, String> entry : propertis.entrySet()) {
try {
double value = Double.parseDouble(entry.getValue());
Extension item = info.findOrCreateExtension("dal");
item.findOrCreateExtensionDetail(entry.getKey()).setValue(value);
} catch (Exception e) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册