Class PlacementConstraint
java.lang.Object
org.apache.hadoop.yarn.api.resource.PlacementConstraint
PlacementConstraint represents a placement constraint for a resource
allocation.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classAbstract class that acts as the superclass of all placement constraint classes.static classClass that represents a composite constraint that is a conjunction of other constraints.static classClass that represents a cardinality constraint.static classClass that represents composite constraints, which comprise other constraints, forming a constraint tree.static classClass that represents a composite constraint that comprises a list of timed placement constraints (seePlacementConstraint.TimedPlacementConstraint).static classClass that represents a composite constraint that is a disjunction of other constraints.static classConsider a set of nodes N that belongs to the scope specified in the constraint.static classClass that represents a target constraint.static classClass representing the target expressions that are used in placement constraints.static classRepresents a timed placement constraint that has to be satisfied within a time window.static interfaceInterface used to enable the elements of the constraint tree to be visited.static interfaceVisitor API for a constraint tree. -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
PlacementConstraint
-
-
Method Details