@InterfaceAudience.Public @InterfaceStability.Unstable public class PlacementConstraint extends Object
PlacementConstraint
represents a placement constraint for a resource
allocation.Modifier and Type | Class and Description |
---|---|
static class |
PlacementConstraint.AbstractConstraint
Abstract class that acts as the superclass of all placement constraint
classes.
|
static class |
PlacementConstraint.And
Class that represents a composite constraint that is a conjunction of other
constraints.
|
static class |
PlacementConstraint.CardinalityConstraint
Class that represents a cardinality constraint.
|
static class |
PlacementConstraint.CompositeConstraint<R extends PlacementConstraint.Visitable>
Class that represents composite constraints, which comprise other
constraints, forming a constraint tree.
|
static class |
PlacementConstraint.DelayedOr
Class that represents a composite constraint that comprises a list of timed
placement constraints (see
PlacementConstraint.TimedPlacementConstraint ). |
static class |
PlacementConstraint.Or
Class that represents a composite constraint that is a disjunction of other
constraints.
|
static class |
PlacementConstraint.SingleConstraint
Consider a set of nodes N that belongs to the scope specified in the
constraint.
|
static class |
PlacementConstraint.TargetConstraint
Class that represents a target constraint.
|
static class |
PlacementConstraint.TargetExpression
Class representing the target expressions that are used in placement
constraints.
|
static class |
PlacementConstraint.TimedPlacementConstraint
Represents a timed placement constraint that has to be satisfied within a
time window.
|
static interface |
PlacementConstraint.Visitable
Interface used to enable the elements of the constraint tree to be visited.
|
static interface |
PlacementConstraint.Visitor<T>
Visitor API for a constraint tree.
|
Constructor and Description |
---|
PlacementConstraint(PlacementConstraint.AbstractConstraint constraintExpr) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
PlacementConstraint.AbstractConstraint |
getConstraintExpr()
Get the constraint expression of the placement constraint.
|
int |
hashCode() |
String |
toString() |
public PlacementConstraint(PlacementConstraint.AbstractConstraint constraintExpr)
public PlacementConstraint.AbstractConstraint getConstraintExpr()
Copyright © 2008–2018 Apache Software Foundation. All rights reserved.