Beispiel #1
0
 @Override
 protected void callback(DebugInterface debug) throws KillSubProcess {
   if (twoPhaseCommitIn(debug.thread())) {
     debug.thread().suspend(null);
     this.disable();
     afterWrite.countDown();
     throw KillSubProcess.withExitCode(-1);
   }
 }
Beispiel #2
0
 @Override
 protected void callback(DebugInterface debug) throws KillSubProcess {
   afterCrash.countDown();
   throw KillSubProcess.withExitCode(-1);
 }