returns a schedulingpolicy instance corresponding to the passed clazz concode_field_sep byte DEPTH_LEAF concode_elem_sep SchedulingPolicy DEFAULT_POLICY concode_elem_sep ConcurrentHashMap<Class<? extends SchedulingPolicy>,SchedulingPolicy> instances concode_elem_sep byte DEPTH_INTERMEDIATE concode_elem_sep byte DEPTH_ANY concode_elem_sep byte DEPTH_PARENT concode_elem_sep byte DEPTH_ROOT concode_field_sep byte getApplicableDepth concode_elem_sep String getName concode_elem_sep Comparator<Schedulable> getComparator concode_elem_sep boolean checkIfAMResourceUsageOverLimit concode_elem_sep boolean checkIfUsageOverFairShare concode_elem_sep Resource getHeadroom concode_elem_sep void computeSteadyShares concode_elem_sep void computeShares concode_elem_sep SchedulingPolicy parse concode_elem_sep void initialize concode_elem_sep boolean isApplicableTo
SchedulingPolicy function ( Class < ? extends SchedulingPolicy > arg0 ) { SchedulingPolicy loc0 = ReflectionUtils . newInstance ( arg0 , null ) ; SchedulingPolicy loc1 = instances . putIfAbsent ( arg0 , loc0 ) ; if ( loc1 != null ) { return loc1 ; } return loc0 ; }