Class ComputePlane

Namespace: ArmoniK.Api.Common.Options
Assembly: ArmoniK.Api.Common.dll

Options to configure the connections between Worker and Agent

[ExtractDocumentation("Options for ComputePlane")]
[PublicAPI]
public class ComputePlane

Inheritance

objectComputePlane

Inherited Members

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

Fields

AgentChannelSection

Path to the section containing the agent channel values in configuration object

public const string AgentChannelSection = "AgentChannel"

Field Value

string

SettingSection

Path to the section containing the values in the configuration object

public const string SettingSection = "ComputePlane"

Field Value

string

WorkerChannelSection

Path to the section containing the worker channel values in configuration object

public const string WorkerChannelSection = "WorkerChannel"

Field Value

string

Properties

AbortAfter

Time to wait upon cancellation before aborting the worker

public TimeSpan AbortAfter { get; set; }

Property Value

TimeSpan

AgentChannel

Channel used by the Worker to send requests to the Agent

public GrpcChannel AgentChannel { get; set; }

Property Value

GrpcChannel

MessageBatchSize

Number of messages retrieved from the queue by the Agent

public int MessageBatchSize { get; set; }

Property Value

int

WorkerChannel

Channel used by the Agent to send tasks to the Worker

public GrpcChannel WorkerChannel { get; set; }

Property Value

GrpcChannel