Interface Pool.DefinitionStages.WithTaskSchedulingPolicy

All Known Subinterfaces:
Pool.Definition, Pool.DefinitionStages.WithCreate
Enclosing interface:
Pool.DefinitionStages

public static interface Pool.DefinitionStages.WithTaskSchedulingPolicy
The stage of the Pool definition allowing to specify taskSchedulingPolicy.
  • Method Details

    • withTaskSchedulingPolicy

      Pool.DefinitionStages.WithCreate withTaskSchedulingPolicy(TaskSchedulingPolicy taskSchedulingPolicy)
      Specifies the taskSchedulingPolicy property: Specifies how tasks should be distributed across compute nodes.

      If not specified, the default is spread..

      Parameters:
      taskSchedulingPolicy - Specifies how tasks should be distributed across compute nodes.

      If not specified, the default is spread.

      Returns:
      the next definition stage.