Class FreeSlotSchedulingConstraint
- java.lang.Object
-
- org.apache.nemo.runtime.master.scheduler.FreeSlotSchedulingConstraint
-
- All Implemented Interfaces:
SchedulingConstraint
@AssociatedProperty(ResourceSlotProperty.class) public final class FreeSlotSchedulingConstraint extends java.lang.Object implements SchedulingConstraint
This policy finds executor that has free slot for a Task.
-
-
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
-
-