Exemple #1
0
 public Void call() throws RuntimeException {
     try {
         ProcessTree.get().killAll(modelEnvVars);
     } catch (InterruptedException e) {
         // we are asked to terminate early by the caller, so no need to do anything
     }
     return null;
 }
Exemple #2
0
 @Override
 public void kill(Map<String, String> modelEnvVars) throws InterruptedException {
     ProcessTree.get().killAll(modelEnvVars);
 }