Share via


BatchNodeFillType Class

public final class BatchNodeFillType
extends ExpandableStringEnum<BatchNodeFillType>

BatchNodeFillType enums.

Field Summary

Modifier and Type Field and Description
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.

static final BatchNodeFillType 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 BatchNodeFillType value.

Method Summary

Modifier and Type Method and Description
static BatchNodeFillType fromString(String name)

Creates or finds a BatchNodeFillType from its string representation.

static Collection<BatchNodeFillType> values()

Gets known BatchNodeFillType values.

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

Use the fromString(String name) factory method.

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:

name - a name to look for.

Returns:

the corresponding BatchNodeFillType.

values

public static Collection<BatchNodeFillType> values()

Gets known BatchNodeFillType values.

Returns:

known BatchNodeFillType values.

Applies to