Show / Hide Table of Contents

Class SchedulingOptions

Scheduling options.

Inheritance
object
SchedulingOptions
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: DNVGL.One.Compute.Core.FlowModel
Assembly: DNVGL.One.Compute.Core.dll
Syntax
[DataContract]
public class SchedulingOptions

Properties

View Source

FailureStrategy

Gets or sets the failure strategy.

Declaration
[DataMember]
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
[DataMember]
public int MaxTaskRetryCount { get; set; }
Property Value
Type Description
int
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
[DataMember]
public int WorkUnitBatchSize { get; set; }
Property Value
Type Description
int

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
In this article
Back to top Copyright © DNV AS. All rights reserved.