Class RecordingCorrelationLink
- Namespace
- Kuestenlogik.Bowire.Recordings.Correlation
- Assembly
- Kuestenlogik.Bowire.Recordings.dll
Why a step is on the transaction even though the correlation key is nowhere in it (#545). One bridge value, shared with one step the key matched directly — the second and last edge of the join.
public sealed record RecordingCorrelationLink : IEquatable<RecordingCorrelationLink>
- Inheritance
-
RecordingCorrelationLink
- Implements
- Inherited Members
Constructors
RecordingCorrelationLink(string, string, string, int, string, string, string, string, int, int)
Why a step is on the transaction even though the correlation key is nowhere in it (#545). One bridge value, shared with one step the key matched directly — the second and last edge of the join.
public RecordingCorrelationLink(string Value, string Name, string ViaStepId, int ViaStepIndex, string ViaProtocol, string ViaName, string ViaService, string ViaMethod, int AlternativeCount, int Strength)
Parameters
ValuestringThe shared value that linked this step in.
NamestringThe leaf name carrying it on this step, as written.
ViaStepIdstringId of the already-matched step it is shared with.
ViaStepIndexintThat step's zero-based position in the recording.
ViaProtocolstringThat step's protocol lane.
ViaNamestringThe leaf name carrying the value on that step, as written.
ViaServicestringThat step's service identifier, so a UI can name it without a second lookup.
ViaMethodstringThat step's method identifier.
AlternativeCountintHow many other equally admissible values would have joined the same pair of steps. The harbor recording shares three container ids between REST and GraphQL, so the winner reports 2 — the operator should not read one arbitrary container as the special one.
StrengthintRank among the admissible bridges for this step; higher wins. Same leaf name on both ends beats a suffix relative, a longer value beats a shorter one, and a value spread across many field names is penalised.
Properties
AlternativeCount
How many other equally admissible values would have joined the same pair of steps. The harbor recording shares three container ids between REST and GraphQL, so the winner reports 2 — the operator should not read one arbitrary container as the special one.
public int AlternativeCount { get; init; }
Property Value
Name
The leaf name carrying it on this step, as written.
public string Name { get; init; }
Property Value
Strength
Rank among the admissible bridges for this step; higher wins. Same leaf name on both ends beats a suffix relative, a longer value beats a shorter one, and a value spread across many field names is penalised.
public int Strength { get; init; }
Property Value
Value
The shared value that linked this step in.
public string Value { get; init; }
Property Value
ViaMethod
That step's method identifier.
public string ViaMethod { get; init; }
Property Value
ViaName
The leaf name carrying the value on that step, as written.
public string ViaName { get; init; }
Property Value
ViaProtocol
That step's protocol lane.
public string ViaProtocol { get; init; }
Property Value
ViaService
That step's service identifier, so a UI can name it without a second lookup.
public string ViaService { get; init; }
Property Value
ViaStepId
Id of the already-matched step it is shared with.
public string ViaStepId { get; init; }
Property Value
ViaStepIndex
That step's zero-based position in the recording.
public int ViaStepIndex { get; init; }
Property Value
Methods
Deconstruct(out string, out string, out string, out int, out string, out string, out string, out string, out int, out int)
public void Deconstruct(out string Value, out string Name, out string ViaStepId, out int ViaStepIndex, out string ViaProtocol, out string ViaName, out string ViaService, out string ViaMethod, out int AlternativeCount, out int Strength)
Parameters
ValuestringNamestringViaStepIdstringViaStepIndexintViaProtocolstringViaNamestringViaServicestringViaMethodstringAlternativeCountintStrengthint
Equals(RecordingCorrelationLink?)
public bool Equals(RecordingCorrelationLink? other)
Parameters
otherRecordingCorrelationLink
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 ==(RecordingCorrelationLink?, RecordingCorrelationLink?)
public static bool operator ==(RecordingCorrelationLink? left, RecordingCorrelationLink? right)
Parameters
leftRecordingCorrelationLinkrightRecordingCorrelationLink
Returns
operator !=(RecordingCorrelationLink?, RecordingCorrelationLink?)
public static bool operator !=(RecordingCorrelationLink? left, RecordingCorrelationLink? right)
Parameters
leftRecordingCorrelationLinkrightRecordingCorrelationLink