public int getMaxJobsPerUserToInitialize ( String queue ) { int maxJobsPerUser = rmConf . getInt ( toFullPropertyName ( queue , "maximum-initialized-jobs-per-user" ) , defaultMaxJobsPerUsersToInitialize ) ; if ( maxJobsPerUser <= 0 ) { throw new IllegalArgumentException ( "Invalid maximum jobs per user configuration " + maxJobsPerUser ) ; } return maxJobsPerUser ; }
Gets the maximum number of jobs which are allowed to initialize in the job queue .