TaskSchedulingPolicy Class
- java.
lang. Object - com.
microsoft. azure. batch. protocol. models. TaskSchedulingPolicy
- com.
public class TaskSchedulingPolicy
Specifies how Tasks should be distributed across Compute Nodes.
Constructor Summary
Constructor | Description | |
---|---|---|
TaskSchedulingPolicy() |
Method Summary
Modifier and Type | Method and Description |
---|---|
Compute |
nodeFillType()
Get if not specified, the default is spread. |
Task |
withNodeFillType(ComputeNodeFillType nodeFillType)
Set if not specified, the default is spread. |
Methods inherited from java.lang.Object
Constructor Details
TaskSchedulingPolicy
public TaskSchedulingPolicy()
Method Details
nodeFillType
public ComputeNodeFillType nodeFillType()
Get if not specified, the default is spread. Possible values include: 'spread', 'pack'.
Returns:
the nodeFillType value
withNodeFillType
public TaskSchedulingPolicy withNodeFillType(ComputeNodeFillType nodeFillType)
Set if not specified, the default is spread. Possible values include: 'spread', 'pack'.
Parameters:
nodeFillType
- the nodeFillType value to set
Returns:
the TaskSchedulingPolicy object itself.
Applies to
Zusammenarbeit auf GitHub
Die Quelle für diesen Inhalt finden Sie auf GitHub, wo Sie auch Issues und Pull Requests erstellen und überprüfen können. Weitere Informationen finden Sie in unserem Leitfaden für Mitwirkende.
Azure SDK for Java