Job function ( int arg0 ) { synchronized ( jobCache ) { Job loc0 = jobCache . get ( arg0 ) ; if ( loc0 == null ) { synchronized ( queue ) { loc0 = queue . getJob ( arg0 ) ; } jobCache . put ( arg0 , loc0 ) ; } return loc0 ; } }
gets a job from the cache , or from the server if the job is not in the cache concode_field_sep Logger logger concode_elem_sep Map<Integer,Job> jobCache concode_elem_sep int EMPTY_QUEUE_SLEEP_MS concode_elem_sep boolean done concode_elem_sep NMPIQueue queue concode_elem_sep Set<NMPIQueueListener> listeners concode_elem_sep Map<Integer,NMPILog> jobLog concode_elem_sep String hardware concode_field_sep void setJobRunning concode_elem_sep void appendJobLog concode_elem_sep void setJobError concode_elem_sep void setJobFinished concode_elem_sep void snooze concode_elem_sep void run concode_elem_sep void processResponse concode_elem_sep void close concode_elem_sep void addListener