agave-jobs/jobs-core/src/main/java/org/iplantc/service/jobs/queue/actions/MonitoringAction.java
/**
     * This method attempts check the status of the remote job/process/service represented by an {@link Job}.
     *
     * @throws SystemUnavailableException if the remote system is not available
     * @throws JobException if the job monitor cannot be processed
     */
This method attempts check the status of the remote job/process/service represented by an  Job.
@throws SystemUnavailableException if the remote system is not available
@throws JobException if the job monitor cannot be processed
This method attempts check the status of the remote job / process / service represented by an Job . @throws SystemUnavailableException if the remote system is not available @throws JobException if the job monitor cannot be processed
public void run() throws SystemUnavailableException, JobException, ClosedByInterruptException
    {
        try 
        {
            setJobMonitor(new JobMonitorFactory().getInstance(getJob(), getExecutionSystem()));
            log.debug("Checking status of job " + job.getUuid());
            this.job = getJobMonitor().monitor();
        }
        catch (ClosedByInterruptException e) {
            throw e;
        }
        catch (StaleObjectStateException | UnresolvableObjectException e) {
            throw e;
        }
        catch (SystemUnavailableException e) {
            throw e;
        }
        catch (Throwable e) {
            throw new JobException("Failed to check status of job " + job.getUuid(), e);
        }
    }
public void run ( ) throws SystemUnavailableException , JobException , ClosedByInterruptException { try { setJobMonitor ( new JobMonitorFactory ( ) . getInstance ( getJob ( ) , getExecutionSystem ( ) ) ) ; log . debug ( "Checking status of job " + job . getUuid ( ) ) ; this . job = getJobMonitor ( ) . monitor ( ) ; } catch ( ClosedByInterruptException e ) { throw e ; } catch ( StaleObjectStateException | UnresolvableObjectException e ) { throw e ; } catch ( SystemUnavailableException e ) { throw e ; } catch ( Throwable e ) { throw new JobException ( "Failed to check status of job " + job . getUuid ( ) , e ) ; } }
This method attempts check the status of the remote job/process/service represented by an {@link Job}.
This method attempts check the status of the remote job / process / service represented by an { @link Job } .