| Modifier and Type | Field and Description | 
|---|---|
| static SchedulingPolicy | SchedulingPolicy. DEFAULT_POLICY | 
| protected SchedulingPolicy | FSQueue. policy | 
| Modifier and Type | Method and Description | 
|---|---|
| SchedulingPolicy | AllocationConfiguration. getDefaultSchedulingPolicy() | 
| static SchedulingPolicy | SchedulingPolicy. getInstance(Class<? extends SchedulingPolicy> clazz)Returns a  SchedulingPolicyinstance corresponding
 to the passed clazz. | 
| SchedulingPolicy | FSQueue. getPolicy() | 
| static SchedulingPolicy | SchedulingPolicy. parse(String policy)Returns  SchedulingPolicyinstance corresponding to theSchedulingPolicypassed as a string. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | SchedulingPolicy. isChildPolicyAllowed(SchedulingPolicy childPolicy)Check whether the policy of a child queue is allowed. | 
| void | FSQueue. setPolicy(SchedulingPolicy policy) | 
| Modifier and Type | Method and Description | 
|---|---|
| static SchedulingPolicy | SchedulingPolicy. getInstance(Class<? extends SchedulingPolicy> clazz)Returns a  SchedulingPolicyinstance corresponding
 to the passed clazz. | 
| Modifier and Type | Method and Description | 
|---|---|
| SchedulingPolicy | AllocationFileParser. getDefaultSchedulingPolicy() | 
| Modifier and Type | Method and Description | 
|---|---|
| Map<String,SchedulingPolicy> | QueueProperties. getQueuePolicies() | 
| Modifier and Type | Method and Description | 
|---|---|
| QueueProperties.Builder | QueueProperties.Builder. queuePolicies(String queueName,
             SchedulingPolicy policy) | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | DominantResourceFairnessPolicyMakes scheduling decisions by trying to equalize dominant resource usage. | 
| class  | FairSharePolicyMakes scheduling decisions by trying to equalize shares of memory. | 
| class  | FifoPolicy | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | FairSharePolicy. isChildPolicyAllowed(SchedulingPolicy childPolicy) | 
| boolean | FifoPolicy. isChildPolicyAllowed(SchedulingPolicy childPolicy) | 
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.