Пример #1
0
 /**
  * Kill the child process
  *
  * @param dumpStacksBefore whether to wait a little before killing the task
  * @throws InterruptedException
  * @throws IOException
  */
 public void kill(boolean dumpStacksBefore) throws IOException, InterruptedException {
   killed = true;
   jvmManager.taskKilled(this, dumpStacksBefore);
   signalDone();
 }
Пример #2
0
 /** Kill the child process */
 public void kill() {
   killed = true;
   jvmManager.taskKilled(this);
   signalDone();
 }