Class TaskSchedulingPolicy


  • public class TaskSchedulingPolicy
    extends Object
    Specifies how Tasks should be distributed across Compute Nodes.
    • Constructor Detail

      • TaskSchedulingPolicy

        public TaskSchedulingPolicy()
    • Method Detail

      • 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.