30.368. Class CrashingWorkerOptions

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

Class containing options for CrashingWorkerOptions

public class CrashingWorkerOptions

30.368.1. Inheritance

objectCrashingWorkerOptions

30.368.2. Inherited Members

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

30.368.3. Fields

30.368.3.1. SettingSection

Name of the section in dotnet options

public const string SettingSection = "CrashingWorkerOptions"

30.368.3.1.1. Field Value

string

30.368.4. Properties

30.368.4.1. NbTasks

Number of tasks to submit

public int NbTasks { get; set; }

30.368.4.1.1. Property Value

int

30.368.4.2. Partition

Partition in which to submit the tasks

public string Partition { get; set; }

30.368.4.2.1. Property Value

string

30.368.4.3. Retry

Number of allowed retries

public int Retry { get; set; }

30.368.4.3.1. Property Value

int

30.368.4.4. Type

Type of the crash to simulate

public string Type { get; set; }

30.368.4.4.1. Property Value

string

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