- computeShares
Computes and updates the shares of Schedulables as per the SchedulingPolicy, to
be used later for sc
- getInstance
Returns a SchedulingPolicy instance corresponding to the passed clazz.
- getName
- parse
Returns SchedulingPolicy instance corresponding to the SchedulingPolicy passed
as a string. The poli
- computeSteadyShares
Computes and updates the steady shares of FSQueues as per the SchedulingPolicy.
The steady share doe
- getComparator
The comparator returned by this method is to be used for sorting the
Schedulables in that queue.
- getHeadroom
Get headroom by calculating the min of clusterAvailable and ( queueFairShare -
queueUsage) resources
- initialize
Initialize the scheduling policy with a FSContext object, which has a pointer to
the cluster resourc
- isApplicableTo
Checks if the specified SchedulingPolicy can be used for a queue at the
specified depth in the hiera
- checkIfAMResourceUsageOverLimit
Check if a leaf queue's AM resource usage over its limit under this policy
- checkIfUsageOverFairShare
Check if the resource usage is over the fair share under this policy.
- getResourceCalculator
The ResourceCalculator returned by this method should be used for any
calculations involving resourc