示例#1
0
 protected internal override float CalculateReservationToPlanRatio(Resource clusterResources
                                                                   , Resource planResources, Resource capToAssign)
 {
     return(Resources.Divide(fs.GetResourceCalculator(), clusterResources, capToAssign
                             , planResources));
 }
 protected internal override ResourceCalculator GetResourceCalculator()
 {
     return(fairScheduler.GetResourceCalculator());
 }