21.372. Class HtcMock

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

Class containing options for HtcMock

[PublicAPI]
public class HtcMock

21.372.1. Inheritance

objectHtcMock

21.372.2. Inherited Members

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

21.372.3. Fields

21.372.3.1. SettingSection

Name of the section in dotnet options

public const string SettingSection = "HtcMock"

21.372.3.1.1. Field Value

string

21.372.4. Properties

21.372.4.1. DataSize

Size of the task outputs

public int DataSize { get; set; }

21.372.4.1.1. Property Value

int

21.372.4.2. EnableFastCompute

Whether the computing tasks will take the time parameter into consideration. Always used to generate the graph of task dependencies.

public bool EnableFastCompute { get; set; }

21.372.4.2.1. Property Value

bool

21.372.4.3. EnableSmallOutput

Whether the computing tasks will take the output size parameter into consideration. Always used to generate the graph of task dependencies.

public bool EnableSmallOutput { get; set; }

21.372.4.3.1. Property Value

bool

21.372.4.4. EnableUseLowMem

Whether the computing tasks will take the memory usage parameter into consideration. Always used to generate the graph of task dependencies.

public bool EnableUseLowMem { get; set; }

21.372.4.4.1. Property Value

bool

21.372.4.5. MemorySize

Size of the memory used by the task during its execution

public int MemorySize { get; set; }

21.372.4.5.1. Property Value

int

21.372.4.6. NTasks

Number of computing tasks (there are some supplementary aggregation tasks)

public int NTasks { get; set; }

21.372.4.6.1. Property Value

int

21.372.4.7. Options

Dictionary to put into task options

public Dictionary<string, string> Options { get; set; }

21.372.4.7.1. Property Value

Dictionary<string, string>

21.372.4.8. Partition

Partition in which to submit the tasks

public string Partition { get; set; }

21.372.4.8.1. Property Value

string

21.372.4.9. PurgeData

Purge data from the created session

public bool PurgeData { get; set; }

21.372.4.9.1. Property Value

bool

21.372.4.10. SubTasksLevels

Number of sub tasks levels

public int SubTasksLevels { get; set; }

21.372.4.10.1. Property Value

int

21.372.4.11. TaskError

Finish task with Output of type when task id ends by this string, ignored if empty string

public string TaskError { get; set; }

21.372.4.11.1. Property Value

string

21.372.4.12. TaskRpcException

Raise RpcException when task id ends by this string, ignored if empty string

public string TaskRpcException { get; set; }

21.372.4.12.1. Property Value

string

21.372.4.13. TotalCalculationTime

Total computation time for the computing tasks

public TimeSpan TotalCalculationTime { get; set; }

21.372.4.13.1. Property Value

TimeSpan