TaskSchedulingPolicy Class
- java.
lang. Object - com.
microsoft. azure. management. batch. TaskSchedulingPolicy
- com.
public class TaskSchedulingPolicy
Specifies how tasks should be distributed across compute nodes.
Method Summary
Modifier and Type | Method and Description |
---|---|
Compute |
nodeFillType()
Get possible values include: 'Spread', 'Pack'. |
Task |
withNodeFillType(ComputeNodeFillType nodeFillType)
Set possible values include: 'Spread', 'Pack'. |
Method Details
nodeFillType
public ComputeNodeFillType nodeFillType()
Get possible values include: 'Spread', 'Pack'.
Returns:
the nodeFillType value
withNodeFillType
public TaskSchedulingPolicy withNodeFillType(ComputeNodeFillType nodeFillType)
Set possible values include: 'Spread', 'Pack'.
Parameters:
nodeFillType
- the nodeFillType value to set
Returns:
the TaskSchedulingPolicy object itself.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java