Class BatchDispatchResult
Carries the measurements of a dispatched batch.
Implements
Inherited Members
Namespace: AXSharp.Connector
Assembly: AXSharp.Connector.dll
Syntax
public sealed record BatchDispatchResult : IEquatable<BatchDispatchResult>
Constructors
| Edit this page View SourceBatchDispatchResult(Task[], double, double)
Carries the measurements of a dispatched batch.
Declaration
public BatchDispatchResult(Task[] ChunkTasks, double TotalMs, double QueueWaitMs)
Parameters
| Type | Name | Description |
|---|---|---|
| Task[] | ChunkTasks | Completion task per chunk, in the order the chunks were provided. In serial mode chunks that were never enqueued (an earlier chunk faulted) are absent from the array tail. |
| double | TotalMs | Whole-batch duration from batch start to completion of the last chunk. |
| double | QueueWaitMs | Time from batch start until the first chunk started executing. |
Properties
| Edit this page View SourceChunkTasks
Completion task per chunk, in the order the chunks were provided. In serial mode chunks that were never enqueued (an earlier chunk faulted) are absent from the array tail.
Declaration
public Task[] ChunkTasks { get; init; }
Property Value
| Type | Description |
|---|---|
| Task[] |
ExecutionMs
Execution part of the whole-batch duration (total minus initial queue wait).
Declaration
public double ExecutionMs { get; }
Property Value
| Type | Description |
|---|---|
| double |
QueueWaitMs
Time from batch start until the first chunk started executing.
Declaration
public double QueueWaitMs { get; init; }
Property Value
| Type | Description |
|---|---|
| double |
TotalMs
Whole-batch duration from batch start to completion of the last chunk.
Declaration
public double TotalMs { get; init; }
Property Value
| Type | Description |
|---|---|
| double |