コード例 #1
0
 @Override
 public void cleanUp(ExecutionMonitor monitor, ExecutionContext context)
     throws InterruptedException, IOException {
   monitor.open(1);
   try {
     ExecutionTracker.Record record = new ExecutionTracker.Record(context, null, this);
     tracker.add(id, record);
   } finally {
     monitor.close();
   }
 }
コード例 #2
0
 @Override
 public void execute(ExecutionMonitor monitor, ExecutionContext context, CommandScript script)
     throws InterruptedException, IOException {
   monitor.open(1);
   try {
     ExecutionTracker.Record record = new ExecutionTracker.Record(context, script, this);
     tracker.add(id, record);
   } finally {
     monitor.close();
   }
 }