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
SchedulingPolicy instance corresponding
to the passed clazz. |
SchedulingPolicy |
FSQueue.getPolicy() |
static SchedulingPolicy |
SchedulingPolicy.parse(String policy)
Returns
SchedulingPolicy instance corresponding to the
SchedulingPolicy passed 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
SchedulingPolicy instance 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 |
DominantResourceFairnessPolicy
Makes scheduling decisions by trying to equalize dominant resource usage.
|
class |
FairSharePolicy
Makes scheduling decisions by trying to equalize shares of memory.
|
class |
FifoPolicy |
Modifier and Type | Method and Description |
---|---|
boolean |
FifoPolicy.isChildPolicyAllowed(SchedulingPolicy childPolicy) |
boolean |
FairSharePolicy.isChildPolicyAllowed(SchedulingPolicy childPolicy) |
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.