Examples of notifyFailed()


Examples of eu.planets_project.tb.api.system.batch.BatchProcessor.notifyFailed()

            }
           
            if(bp.isFailed(ticket)){
              TestbedBatchJob job = bp.getJob(ticket);
              job.setStatus(TestbedBatchJob.FAILED);
              bp.notifyFailed(ticket, job);
              log.debug("BatchExecutionListener: notify FAILED for: "+ticket);

            }
           
            //check if completed
View Full Code Here

Examples of eu.planets_project.tb.api.system.batch.BatchProcessor.notifyFailed()

              Thread.sleep(sleep);
        } catch (InterruptedException e) {
          log.debug("Error while waiting for ticket: "+ticket, e);
          TestbedBatchJob job = bp.getJob(ticket);
          job.setStatus(TestbedBatchJob.FAILED);
          bp.notifyFailed(ticket, job);
          return;
        }
        t1 = System.currentTimeMillis();
        }
       
View Full Code Here

Examples of eu.planets_project.tb.api.system.batch.BatchProcessor.notifyFailed()

       
        //b) in this case a time-out occurred
        TestbedBatchJob job = bp.getJob(ticket);
    job.setStatus(TestbedBatchJob.FAILED);
    job.setWorkflowFailureReport(new String("BatchExperimentListener with timeout of "+timeOutMillis/1000+" Sec. has timed-out. This normally indicates a failure within the remote workflow execution processor"));
    bp.notifyFailed(ticket, job);
    log.debug("BatchExecutionListener: notify FAILED due to time-out for: "+ticket);
  }

}
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.