Exemplo n.º 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);
   }
 }
Exemplo n.º 2
0
 @Override
 protected void callback(DebugInterface debug) throws KillSubProcess {
   afterCrash.countDown();
   throw KillSubProcess.withExitCode(-1);
 }