Show / Hide Table of Contents

Class SchedulingOptions

Scheduling options

Inheritance
System.Object
SchedulingOptions
Namespace: DNVGL.One.Compute.Core.FlowModel
Assembly: DNVGL.One.Compute.Core.dll
Syntax
public class SchedulingOptions : object

Properties

View Source

FailureStrategy

Gets or sets the failure strategy.

Declaration
public FailureStrategy FailureStrategy { get; set; }
Property Value
Type Description
FailureStrategy

The failure strategy.

View Source

MaxTaskRetryCount

Gets or sets the maximum number of retries for individual job tasks.

Declaration
public int MaxTaskRetryCount { get; set; }
Property Value
Type Description
System.Int32
Remarks

Note that this value specifically controls the number of retries for the task executable due to a nonzero exit code. The Batch service will try the task once, and may then retry up to this limit. For example, if the maximum retry count is 3, Batch tries the task up to 4 times (one initial try and 3 retries). If the maximum retry count is 0, the Batch service does not retry the task after the first attempt. If the maximum retry count is -1, the Batch service retries the task without limit. Resource files and application packages are only downloaded again if the task is retried on a new compute node.

View Source

WorkUnitBatchSize

Gets or sets the size of the work unit batches.

Declaration
public int WorkUnitBatchSize { get; set; }
Property Value
Type Description
System.Int32

The size of the work unit batches.

Remarks

A work unit batch is the proposed number of work units that each worker will be assigned. Default is 1.

  • View Source
Back to top Copyright © DNV GL AS. All rights reserved.