Examples of wasAborted()


Examples of org.ggf.drmaa.JobInfo.wasAborted()

        
         session.deleteJobTemplate(jt);
        
         JobInfo info = session.wait(id, Session.TIMEOUT_WAIT_FOREVER);
        
         if (info.wasAborted()) {
            System.out.println("Job " + info.getJobId() + " never ran");
         } else if (info.hasExited()) {
            System.out.println("Job " + info.getJobId() +
                  " finished regularly with exit status " +
                  info.getExitStatus());
View Full Code Here

Examples of org.ggf.drmaa.JobInfo.wasAborted()

            jobId = (String)i.next();
           
            status = session.wait(jobId, Session.TIMEOUT_WAIT_FOREVER);
           
            /* report how job finished */
            if (status.wasAborted()) {
                System.out.println("job \"" + jobId + "\" never ran");
            } else if (status.hasExited()) {
                System.out.println("job \"" + jobId + "\" finished regularly with exit status " + status.getExitStatus());
            } else if (status.hasSignaled()) {
                System.out.println("job \"" + jobId + "\" finished due to signal " + status.getTerminatingSignal());
View Full Code Here

Examples of org.ggf.drmaa.JobInfo.wasAborted()

        
         for (int count = start; count < end; count += step) {
            JobInfo info = session.wait(Session.JOB_IDS_SESSION_ANY,
                  Session.TIMEOUT_WAIT_FOREVER);
           
            if (info.wasAborted()) {
               System.out.println("Job " + info.getJobId() + " never ran");
            } else if (info.hasExited()) {
               System.out.println("Job " + info.getJobId() +
                     " finished regularly with exit status " +
                     info.getExitStatus());
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.