public Set<AllocationID> getAllocationIdsPerJob(JobID jobId) {
		final Set<AllocationID> allocationIds = slotsPerJob.get(jobId);

		if (allocationIds == null) {
			return Collections.emptySet();
		} else {
			return Collections.unmodifiableSet(allocationIds);
		}
	}
public Set < AllocationID > getAllocationIdsPerJob ( JobID jobId ) { final Set < AllocationID > allocationIds = slotsPerJob . get ( jobId ) ; if ( allocationIds == null ) { return Collections . emptySet ( ) ; } else { return Collections . unmodifiableSet ( allocationIds ) ; } }
Returns the all {@link AllocationID} for the given job.

@param jobId for which to return the set of {@link AllocationID}.
@return Set of {@link AllocationID} for the given job