Class RecordingCorrelationEvent

Namespace
Kuestenlogik.Bowire.Recordings.Correlation
Assembly
Kuestenlogik.Bowire.Recordings.dll

One recorded step, placed on the shared time axis.

public sealed record RecordingCorrelationEvent : IEquatable<RecordingCorrelationEvent>
Inheritance
RecordingCorrelationEvent
Implements
Inherited Members

Constructors

One recorded step, placed on the shared time axis.

public RecordingCorrelationEvent(string StepId, int StepIndex, string Protocol, string Service, string Method, string MethodType, string Status, long OffsetMs, long DurationMs, string Match, IReadOnlyList<RecordingCorrelationFrame> Frames, RecordingCorrelationLink? Link = null)

Parameters

StepId string

The step's own id.

StepIndex int

Zero-based position in the recording.

Protocol string

Lane this event belongs to.

Service string

Service identifier as recorded.

Method string

Method identifier as recorded.

MethodType string

Unary / ServerStreaming / ClientStreaming / Duplex.

Status string

Recorded status string.

OffsetMs long

Offset from the timeline origin.

DurationMs long

Recorded wall-clock duration.

Match string

Match tier for the whole step.

Frames IReadOnlyList<RecordingCorrelationFrame>

Per-frame ticks for streaming steps; empty for unary.

Link RecordingCorrelationLink

Set exactly when Match is Derived: which shared value joined this step, and to which already-matched step (#545). null for every other tier.

Properties

DurationMs

Recorded wall-clock duration.

public long DurationMs { get; init; }

Property Value

long

Frames

Per-frame ticks for streaming steps; empty for unary.

public IReadOnlyList<RecordingCorrelationFrame> Frames { get; init; }

Property Value

IReadOnlyList<RecordingCorrelationFrame>

Set exactly when Match is Derived: which shared value joined this step, and to which already-matched step (#545). null for every other tier.

public RecordingCorrelationLink? Link { get; init; }

Property Value

RecordingCorrelationLink

Match

Match tier for the whole step.

public string Match { get; init; }

Property Value

string

Method

Method identifier as recorded.

public string Method { get; init; }

Property Value

string

MethodType

Unary / ServerStreaming / ClientStreaming / Duplex.

public string MethodType { get; init; }

Property Value

string

OffsetMs

Offset from the timeline origin.

public long OffsetMs { get; init; }

Property Value

long

Protocol

Lane this event belongs to.

public string Protocol { get; init; }

Property Value

string

Service

Service identifier as recorded.

public string Service { get; init; }

Property Value

string

Status

Recorded status string.

public string Status { get; init; }

Property Value

string

StepId

The step's own id.

public string StepId { get; init; }

Property Value

string

StepIndex

Zero-based position in the recording.

public int StepIndex { get; init; }

Property Value

int

Methods

public void Deconstruct(out string StepId, out int StepIndex, out string Protocol, out string Service, out string Method, out string MethodType, out string Status, out long OffsetMs, out long DurationMs, out string Match, out IReadOnlyList<RecordingCorrelationFrame> Frames, out RecordingCorrelationLink? Link)

Parameters

StepId string
StepIndex int
Protocol string
Service string
Method string
MethodType string
Status string
OffsetMs long
DurationMs long
Match string
Frames IReadOnlyList<RecordingCorrelationFrame>
Link RecordingCorrelationLink

Equals(RecordingCorrelationEvent?)

public bool Equals(RecordingCorrelationEvent? other)

Parameters

other RecordingCorrelationEvent

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(RecordingCorrelationEvent?, RecordingCorrelationEvent?)

public static bool operator ==(RecordingCorrelationEvent? left, RecordingCorrelationEvent? right)

Parameters

left RecordingCorrelationEvent
right RecordingCorrelationEvent

Returns

bool

operator !=(RecordingCorrelationEvent?, RecordingCorrelationEvent?)

public static bool operator !=(RecordingCorrelationEvent? left, RecordingCorrelationEvent? right)

Parameters

left RecordingCorrelationEvent
right RecordingCorrelationEvent

Returns

bool