26.363. Class CrashingWorkerOptions

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

Class containing options for CrashingWorkerOptions

public class CrashingWorkerOptions

26.363.1. Inheritance

objectCrashingWorkerOptions

26.363.2. Inherited Members

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

26.363.3. Fields

26.363.3.1. SettingSection

Name of the section in dotnet options

public const string SettingSection = "CrashingWorkerOptions"

26.363.3.1.1. Field Value

string

26.363.4. Properties

26.363.4.1. NbTasks

Number of tasks to submit

public int NbTasks { get; set; }

26.363.4.1.1. Property Value

int

26.363.4.2. Partition

Partition in which to submit the tasks

public string Partition { get; set; }

26.363.4.2.1. Property Value

string

26.363.4.3. Retry

Number of allowed retries

public int Retry { get; set; }

26.363.4.3.1. Property Value

int

26.363.4.4. Type

Type of the crash to simulate

public string Type { get; set; }

26.363.4.4.1. Property Value

string

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