Class AutoValue_ImmutableEventData
java.lang.Object
io.opentelemetry.sdk.trace.data.ImmutableEventData
io.opentelemetry.sdk.trace.data.AutoValue_ImmutableEventData
- All Implemented Interfaces:
EventData
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Attributesprivate final longprivate final Stringprivate final int -
Constructor Summary
ConstructorsConstructorDescriptionAutoValue_ImmutableEventData(String name, Attributes attributes, long epochNanos, int totalAttributeCount) -
Method Summary
Methods inherited from class ImmutableEventData
create, createMethods inherited from interface EventData
getDroppedAttributesCount
-
Field Details
-
name
-
attributes
-
epochNanos
private final long epochNanos -
totalAttributeCount
private final int totalAttributeCount
-
-
Constructor Details
-
AutoValue_ImmutableEventData
AutoValue_ImmutableEventData(String name, Attributes attributes, long epochNanos, int totalAttributeCount)
-
-
Method Details
-
getName
-
getAttributes
-
getEpochNanos
public long getEpochNanos()Description copied from interface:EventDataReturns the epoch time in nanos of this event.- Returns:
- the epoch time in nanos of this event.
-
getTotalAttributeCount
public int getTotalAttributeCount()Description copied from interface:EventDataThe total number of attributes that were recorded on this Event. 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.getMaxNumberOfAttributesPerEvent()- Returns:
- The total number of attributes on this event.
-
toString
-
equals
-
hashCode
-