Class AutoValue_ImmutableExceptionEventData
java.lang.Object
io.opentelemetry.sdk.trace.data.ImmutableExceptionEventData
io.opentelemetry.sdk.trace.data.AutoValue_ImmutableExceptionEventData
- All Implemented Interfaces:
EventData, ExceptionEventData
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Attributesprivate final longprivate final Throwableprivate final int -
Constructor Summary
ConstructorsConstructorDescriptionAutoValue_ImmutableExceptionEventData(Attributes attributes, long epochNanos, int totalAttributeCount, Throwable exception) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn the attributes of theEventData.longReturns the epoch time in nanos of this event.Return theexceptionof theExceptionEventData.intThe total number of attributes that were recorded on this Event.inthashCode()toString()Methods inherited from class ImmutableExceptionEventData
create, getNameMethods inherited from interface EventData
getDroppedAttributesCount
-
Field Details
-
attributes
-
epochNanos
private final long epochNanos -
totalAttributeCount
private final int totalAttributeCount -
exception
-
-
Constructor Details
-
AutoValue_ImmutableExceptionEventData
AutoValue_ImmutableExceptionEventData(Attributes attributes, long epochNanos, int totalAttributeCount, Throwable exception)
-
-
Method Details
-
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.
-
getException
Description copied from interface:ExceptionEventDataReturn theexceptionof theExceptionEventData.- Returns:
- the
exceptionof theExceptionEventData
-
toString
-
equals
-
hashCode
-