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
RecordingCorrelationEvent(string, int, string, string, string, string, string, long, long, string, IReadOnlyList<RecordingCorrelationFrame>, RecordingCorrelationLink?)
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
StepIdstringThe step's own id.
StepIndexintZero-based position in the recording.
ProtocolstringLane this event belongs to.
ServicestringService identifier as recorded.
MethodstringMethod identifier as recorded.
MethodTypestringUnary/ServerStreaming/ClientStreaming/Duplex.StatusstringRecorded status string.
OffsetMslongOffset from the timeline origin.
DurationMslongRecorded wall-clock duration.
MatchstringMatch tier for the whole step.
FramesIReadOnlyList<RecordingCorrelationFrame>Per-frame ticks for streaming steps; empty for unary.
LinkRecordingCorrelationLinkSet exactly when
Matchis 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
Frames
Per-frame ticks for streaming steps; empty for unary.
public IReadOnlyList<RecordingCorrelationFrame> Frames { get; init; }
Property Value
Link
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
Match
Match tier for the whole step.
public string Match { get; init; }
Property Value
Method
Method identifier as recorded.
public string Method { get; init; }
Property Value
MethodType
Unary / ServerStreaming / ClientStreaming / Duplex.
public string MethodType { get; init; }
Property Value
OffsetMs
Offset from the timeline origin.
public long OffsetMs { get; init; }
Property Value
Protocol
Lane this event belongs to.
public string Protocol { get; init; }
Property Value
Service
Service identifier as recorded.
public string Service { get; init; }
Property Value
Status
Recorded status string.
public string Status { get; init; }
Property Value
StepId
The step's own id.
public string StepId { get; init; }
Property Value
StepIndex
Zero-based position in the recording.
public int StepIndex { get; init; }
Property Value
Methods
Deconstruct(out string, out int, out string, out string, out string, out string, out string, out long, out long, out string, out IReadOnlyList<RecordingCorrelationFrame>, out RecordingCorrelationLink?)
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
StepIdstringStepIndexintProtocolstringServicestringMethodstringMethodTypestringStatusstringOffsetMslongDurationMslongMatchstringFramesIReadOnlyList<RecordingCorrelationFrame>LinkRecordingCorrelationLink
Equals(RecordingCorrelationEvent?)
public bool Equals(RecordingCorrelationEvent? other)
Parameters
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(RecordingCorrelationEvent?, RecordingCorrelationEvent?)
public static bool operator ==(RecordingCorrelationEvent? left, RecordingCorrelationEvent? right)
Parameters
Returns
operator !=(RecordingCorrelationEvent?, RecordingCorrelationEvent?)
public static bool operator !=(RecordingCorrelationEvent? left, RecordingCorrelationEvent? right)