int function ( JobID arg0 ) { final List < AllocatedResource > loc0 = this . resourcesOfJobs . get ( arg0 ) ; if ( loc0 == null ) { return 0 ; } return loc0 . size ( ) ; }
returns the number of allocated resources for the job with the given job id . concode_field_sep Map<JobID,List<AllocatedResource>> resourcesOfJobs concode_field_sep void resourcesAllocated concode_elem_sep void allocatedResourcesDied concode_elem_sep List<AllocatedResource> getAllocatedResourcesForJob