Class JobExecutionOptions
Job execution options.
public sealed record JobExecutionOptions : IEquatable<JobExecutionOptions>
- Inheritance
-
JobExecutionOptions
- Implements
- Inherited Members
Constructors
JobExecutionOptions()
Initializes a new instance of the JobExecutionOptions class.
public JobExecutionOptions()
JobExecutionOptions(int, int, JobExecutorType)
Job execution options.
public JobExecutionOptions(int Priority = 0, int MaxRetries = 0, JobExecutorType ExecutorType = JobExecutorType.JavaEmbedded)
Parameters
Priority
intJob execution priority.
MaxRetries
intNumber of times to retry job execution in case of failure, 0 to not retry.
ExecutorType
JobExecutorTypeJob executor type.
Fields
Default
Default job execution options.
public static readonly JobExecutionOptions Default
Field Value
Properties
ExecutorType
Job executor type.
public JobExecutorType ExecutorType { get; init; }
Property Value
MaxRetries
Number of times to retry job execution in case of failure, 0 to not retry.
public int MaxRetries { get; init; }
Property Value
Priority
Job execution priority.
public int Priority { get; init; }