22.365. Class CrashingWorkerOptions

Namespace: ArmoniK.Samples.CrashingWorker.Client.Options
Assembly: ArmoniK.Samples.CrashingWorker.Client.dll

Class containing options for CrashingWorkerOptions

public class CrashingWorkerOptions

22.365.1. Inheritance

objectCrashingWorkerOptions

22.365.2. Inherited Members

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

22.365.3. Fields

22.365.3.1. SettingSection

Name of the section in dotnet options

public const string SettingSection = "CrashingWorkerOptions"

22.365.3.1.1. Field Value

string

22.365.4. Properties

22.365.4.1. NbTasks

Number of tasks to submit

public int NbTasks { get; set; }

22.365.4.1.1. Property Value

int

22.365.4.2. Partition

Partition in which to submit the tasks

public string Partition { get; set; }

22.365.4.2.1. Property Value

string

22.365.4.3. Retry

Number of allowed retries

public int Retry { get; set; }

22.365.4.3.1. Property Value

int

22.365.4.4. Type

Type of the crash to simulate

public string Type { get; set; }

22.365.4.4.1. Property Value

string

22.365.4.4.2. Remarks

Possible values:

  • success

  • error

  • exception

  • rpc-cancelled

  • rpc-unknown

  • rpc-invalid-argument

  • rpc-deadline-exceeded

  • rpc-not-found

  • rpc-already-exists

  • rpc-permission-denied

  • rpc-resource-exhausted

  • rpc-failed-precondition

  • rpc-aborted

  • rpc-out-of-range

  • rpc-unimplemented

  • rpc-internal

  • rpc-unavailable

  • rpc-data-loss

  • rpc-unauthenticated

  • exit

  • kill

  • crash