21.364. Class CrashingWorkerOptions

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

Class containing options for CrashingWorkerOptions

public class CrashingWorkerOptions

21.364.1. Inheritance

objectCrashingWorkerOptions

21.364.2. Inherited Members

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

21.364.3. Fields

21.364.3.1. SettingSection

Name of the section in dotnet options

public const string SettingSection = "CrashingWorkerOptions"

21.364.3.1.1. Field Value

string

21.364.4. Properties

21.364.4.1. NbTasks

Number of tasks to submit

public int NbTasks { get; set; }

21.364.4.1.1. Property Value

int

21.364.4.2. Partition

Partition in which to submit the tasks

public string Partition { get; set; }

21.364.4.2.1. Property Value

string

21.364.4.3. Retry

Number of allowed retries

public int Retry { get; set; }

21.364.4.3.1. Property Value

int

21.364.4.4. Type

Type of the crash to simulate

public string Type { get; set; }

21.364.4.4.1. Property Value

string

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