Class SpanData.TimedEvent<T>
java.lang.Object
io.opencensus.trace.export.SpanData.TimedEvent<T>
- Type Parameters:
T- the type of value that is timed.
- Direct Known Subclasses:
AutoValue_SpanData_TimedEvent
- Enclosing class:
SpanData
A timed event representation.
- Since:
- 0.5
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> SpanData.TimedEvent<T> Returns a new immutableTimedEvent<T>.abstract TgetEvent()Returns the event.abstract TimestampReturns theTimestampof this event.
-
Constructor Details
-
TimedEvent
TimedEvent()
-
-
Method Details
-
create
Returns a new immutableTimedEvent<T>.- Type Parameters:
T- the type of value that is timed.- Parameters:
timestamp- theTimestampof this event.event- the event.- Returns:
- a new immutable
TimedEvent<T> - Since:
- 0.5
-
getTimestamp
Returns theTimestampof this event.- Returns:
- the
Timestampof this event. - Since:
- 0.5
-
getEvent
-