增加每个组件的执行日志

This commit is contained in:
bryan.zhang
2017-12-13 19:42:39 +08:00
parent 98d7d2a924
commit eefbe197d8

View File

@@ -32,6 +32,7 @@ public abstract class NodeComponent {
private String nodeId; private String nodeId;
public void execute() throws Exception{ public void execute() throws Exception{
LOG.info("start component[{}] execution",this.getClass().getSimpleName());
this.getSlot().addStep(new CmpStep(nodeId, CmpStepType.START)); this.getSlot().addStep(new CmpStep(nodeId, CmpStepType.START));
StopWatch stopWatch = new StopWatch(); StopWatch stopWatch = new StopWatch();
stopWatch.start(); stopWatch.start();