BatchNodeFillType Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. compute. batch. models. BatchNodeFillType
- com.
- com.
public final class BatchNodeFillType
extends ExpandableStringEnum<BatchNodeFillType>
BatchNodeFillType enums.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Batch |
PACK
As many Tasks as possible (task |
|
static final
Batch |
SPREAD
Tasks should be assigned evenly across all Compute Nodes in the Pool. |
Constructor Summary
| Constructor | Description |
|---|---|
| BatchNodeFillType() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Batch |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Batch |
fromString(String name)
Creates or finds a Batch |
|
static
Collection<Batch |
values()
Gets known Batch |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
PACK
public static final BatchNodeFillType PACK
As many Tasks as possible (taskSlotsPerNode) should be assigned to each Compute Node in the Pool before any Tasks are assigned to the next Compute Node in the Pool.
SPREAD
public static final BatchNodeFillType SPREAD
Tasks should be assigned evenly across all Compute Nodes in the Pool.
Constructor Details
BatchNodeFillType
@Deprecated
public BatchNodeFillType()
Deprecated
Creates a new instance of BatchNodeFillType value.
Method Details
fromString
public static BatchNodeFillType fromString(String name)
Creates or finds a BatchNodeFillType from its string representation.
Parameters:
Returns:
values
public static Collection<BatchNodeFillType> values()
Gets known BatchNodeFillType values.
Returns: