Example #1
0
 /**
  * 获取执行结果
  *
  * @return
  */
 public Result getResults() {
   executionStrategy.waitForComplete();
   return new Result(cmds);
 }
Example #2
0
 /**
  * 使用executionStrategy执行所有命令逻辑
  *
  * @return
  */
 public Invoker execute() {
   executionStrategy.execute(cmds);
   return this;
 }