17.159. Class Pollster

Namespace: ArmoniK.Core.Common.Injection.Options
Assembly: ArmoniK.Core.Common.dll

Configuration for

public class Pollster

17.159.1. Inheritance

objectPollster

17.159.2. Inherited Members

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

17.159.3. Fields

17.159.3.1. SettingSection

Path to the section containing the values in the configuration object

public const string SettingSection = "Pollster"

17.159.3.1.1. Field Value

string

17.159.4. Properties

17.159.4.1. GraceDelay

Grace delay before the pollster cancels the task and put the message back into the queue

public TimeSpan GraceDelay { get; set; }

17.159.4.1.1. Property Value

TimeSpan

17.159.4.2. InternalCacheFolder

Internal cache for data

public string InternalCacheFolder { get; set; }

17.159.4.2.1. Property Value

string

17.159.4.3. MaxErrorAllowed

Maximum number of consecutive errors allowed in the pollster before it crashes Negative values disable the check

public int MaxErrorAllowed { get; set; }

17.159.4.3.1. Property Value

int

17.159.4.4. NbAcquisitionRetry

Number of acquisitions to try during the processing of a previous task. If the processing task is still running after that many acquisitions, the Agent will stop acquiring tasks until the processing task has finished.

public int NbAcquisitionRetry { get; set; }

17.159.4.4.1. Property Value

int

17.159.4.5. SharedCacheFolder

Shared folder between Agent and Worker

public string SharedCacheFolder { get; set; }

17.159.4.5.1. Property Value

string

17.159.4.6. ShutdownTimeout

Timeout passed to IHost.StopAsync that will shutdown the application

public TimeSpan ShutdownTimeout { get; set; }

17.159.4.6.1. Property Value

TimeSpan

17.159.4.7. TimeoutBeforeNextAcquisition

Timeout before releasing the current acquired task and acquiring a new one This happens in parallel of the execution of another task

public TimeSpan TimeoutBeforeNextAcquisition { get; set; }

17.159.4.7.1. Property Value

TimeSpan