Package io.opentelemetry.sdk.trace.data
Class AutoValue_ImmutableLinkData
java.lang.Object
io.opentelemetry.sdk.trace.data.ImmutableLinkData
io.opentelemetry.sdk.trace.data.AutoValue_ImmutableLinkData
- All Implemented Interfaces:
LinkData
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Attributes
private final SpanContext
private final int
-
Constructor Summary
ConstructorsConstructorDescriptionAutoValue_ImmutableLinkData
(SpanContext spanContext, Attributes attributes, int totalAttributeCount) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns the set of attributes.Returns theSpanContext
of the span thisLinkData
refers to.int
The total number of attributes that were recorded on this Link.int
hashCode()
toString()
Methods inherited from class io.opentelemetry.sdk.trace.data.ImmutableLinkData
create, create, create
-
Field Details
-
spanContext
-
attributes
-
totalAttributeCount
private final int totalAttributeCount
-
-
Constructor Details
-
AutoValue_ImmutableLinkData
AutoValue_ImmutableLinkData(SpanContext spanContext, Attributes attributes, int totalAttributeCount)
-
-
Method Details
-
getSpanContext
Description copied from interface:LinkData
Returns theSpanContext
of the span thisLinkData
refers to. -
getAttributes
Description copied from interface:LinkData
Returns the set of attributes.- Returns:
- the set of attributes.
-
getTotalAttributeCount
public int getTotalAttributeCount()Description copied from interface:LinkData
The total number of attributes that were recorded on this Link. This number may be larger than the number of attributes that are attached to this span, if the total number recorded was greater than the configured maximum value. See:SpanLimits.getMaxNumberOfAttributesPerLink()
- Returns:
- The number of attributes on this link.
-
toString
-
equals
-
hashCode
public int hashCode()
-