Class ContainerTypeAwareSchedulingConstraint
- java.lang.Object
-
- org.apache.nemo.runtime.master.scheduler.ContainerTypeAwareSchedulingConstraint
-
- All Implemented Interfaces:
SchedulingConstraint
@AssociatedProperty(ResourcePriorityProperty.class) public final class ContainerTypeAwareSchedulingConstraint extends java.lang.Object implements SchedulingConstraint
This policy find executors which has corresponding container type.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
testSchedulability(ExecutorRepresenter executor, Task task)
-
-
-
Method Detail
-
testSchedulability
public boolean testSchedulability(ExecutorRepresenter executor, Task task)
- Specified by:
testSchedulability
in interfaceSchedulingConstraint
-
-