public static class PlacementConstraint.TimedPlacementConstraint extends Object implements PlacementConstraint.Visitable
| Modifier and Type | Class and Description | 
|---|---|
| static class  | PlacementConstraint.TimedPlacementConstraint.DelayUnitThe unit of scheduling delay. | 
| Constructor and Description | 
|---|
| TimedPlacementConstraint(PlacementConstraint.AbstractConstraint constraint) | 
| TimedPlacementConstraint(PlacementConstraint.AbstractConstraint constraint,
                        long schedulingDelay) | 
| TimedPlacementConstraint(PlacementConstraint.AbstractConstraint constraint,
                        long schedulingDelay,
                        PlacementConstraint.TimedPlacementConstraint.DelayUnit delayUnit) | 
| Modifier and Type | Method and Description | 
|---|---|
| <T> T | accept(PlacementConstraint.Visitor<T> visitor)Visitor pattern. | 
| boolean | equals(Object o) | 
| PlacementConstraint.AbstractConstraint | getConstraint()Get the constraint that has to be satisfied within the time window. | 
| PlacementConstraint.TimedPlacementConstraint.DelayUnit | getDelayUnit()The unit of the scheduling delay. | 
| long | getSchedulingDelay()Get the scheduling delay value that determines the time window within
 which the constraint has to be satisfied. | 
| int | hashCode() | 
| void | setConstraint(PlacementConstraint.AbstractConstraint constraint)Sets the constraint that has to be satisfied within the time window. | 
public TimedPlacementConstraint(PlacementConstraint.AbstractConstraint constraint, long schedulingDelay, PlacementConstraint.TimedPlacementConstraint.DelayUnit delayUnit)
public TimedPlacementConstraint(PlacementConstraint.AbstractConstraint constraint, long schedulingDelay)
public TimedPlacementConstraint(PlacementConstraint.AbstractConstraint constraint)
public PlacementConstraint.AbstractConstraint getConstraint()
public void setConstraint(PlacementConstraint.AbstractConstraint constraint)
constraint - the constraint to be satisfiedpublic long getSchedulingDelay()
public PlacementConstraint.TimedPlacementConstraint.DelayUnit getDelayUnit()
public <T> T accept(PlacementConstraint.Visitor<T> visitor)
PlacementConstraint.Visitableaccept in interface PlacementConstraint.VisitableT - defines the type that the visitor will use and the return type
          of the accept.visitor - visitor to be usedCopyright © 2008–2024 Apache Software Foundation. All rights reserved.