Package org.apache.hadoop.yarn.api.resource
package org.apache.hadoop.yarn.api.resource
API related to resources.
-
ClassDescription
PlacementConstraintrepresents a placement constraint for a resource allocation.Abstract class that acts as the superclass of all placement constraint classes.Class that represents a composite constraint that is a conjunction of other constraints.Class that represents a cardinality constraint.Class that represents composite constraints, which comprise other constraints, forming a constraint tree.Class that represents a composite constraint that comprises a list of timed placement constraints (seePlacementConstraint.TimedPlacementConstraint).Class that represents a composite constraint that is a disjunction of other constraints.Consider a set of nodes N that belongs to the scope specified in the constraint.Class that represents a target constraint.Class representing the target expressions that are used in placement constraints.Enum specifying the type of the target expression.Represents a timed placement constraint that has to be satisfied within a time window.The unit of scheduling delay.Interface used to enable the elements of the constraint tree to be visited.Visitor API for a constraint tree.This class contains various static methods for the applications to create placement constraints (see alsoPlacementConstraint).Class with static methods for constructing target expressions to be used in placement constraints.