mirror of
https://gitee.com/dromara/liteFlow.git
synced 2026-05-17 05:20:42 +08:00
bug #I5PFLG 组件统计耗时未统计后置处理
This commit is contained in:
@@ -113,6 +113,9 @@ public abstract class NodeComponent{
|
||||
}
|
||||
throw e;
|
||||
} finally {
|
||||
//后置处理
|
||||
self.afterProcess(this.getNodeId(), slot);
|
||||
|
||||
stopWatch.stop();
|
||||
final long timeSpent = stopWatch.getTotalTimeMillis();
|
||||
LOG.debug("[{}]:component[{}] finished in {} milliseconds",slot.getRequestId(),this.getDisplayName(),timeSpent);
|
||||
@@ -120,9 +123,6 @@ public abstract class NodeComponent{
|
||||
//往CmpStep中放入时间消耗信息
|
||||
cmpStep.setTimeSpent(timeSpent);
|
||||
|
||||
//后置处理
|
||||
self.afterProcess(this.getNodeId(), slot);
|
||||
|
||||
// 性能统计
|
||||
if (ObjectUtil.isNotNull(monitorBus)) {
|
||||
CompStatistics statistics = new CompStatistics(this.getClass().getSimpleName(), timeSpent);
|
||||
|
||||
Reference in New Issue
Block a user