| Package | Description | 
|---|---|
| org.apache.hadoop.yarn.api.resource | API related to resources. | 
| Modifier and Type | Method and Description | 
|---|---|
| static PlacementConstraint.TimedPlacementConstraint | PlacementConstraints. timedClockConstraint(PlacementConstraint.AbstractConstraint constraint,
                    long delay,
                    TimeUnit timeUnit)Creates a placement constraint that has to be satisfied within a time
 window. | 
| static PlacementConstraint.TimedPlacementConstraint | PlacementConstraints. timedOpportunitiesConstraint(PlacementConstraint.AbstractConstraint constraint,
                            long delay)Creates a placement constraint that has to be satisfied within a number of
 placement opportunities (invocations of the scheduler). | 
| Modifier and Type | Method and Description | 
|---|---|
| List<PlacementConstraint.TimedPlacementConstraint> | PlacementConstraint.DelayedOr. getChildren() | 
| Modifier and Type | Method and Description | 
|---|---|
| static PlacementConstraint.DelayedOr | PlacementConstraints. delayedOr(PlacementConstraint.TimedPlacementConstraint... children)Creates a composite constraint that includes a list of timed placement
 constraints. | 
| T | PlacementConstraint.Visitor. visit(PlacementConstraint.TimedPlacementConstraint constraint) | 
| Constructor and Description | 
|---|
| DelayedOr(PlacementConstraint.TimedPlacementConstraint... children) | 
| Constructor and Description | 
|---|
| DelayedOr(List<PlacementConstraint.TimedPlacementConstraint> children) | 
Copyright © 2008–2024 Apache Software Foundation. All rights reserved.