T - the type of value that is timed.@Immutable public abstract static class SpanData.TimedEvents<T> extends Object
| Modifier and Type | Method and Description |
|---|---|
static <T> SpanData.TimedEvents<T> |
create(List<SpanData.TimedEvent<T>> events,
int droppedEventsCount)
Returns a new immutable
TimedEvents<T>. |
abstract int |
getDroppedEventsCount()
Returns the number of dropped events.
|
abstract List<SpanData.TimedEvent<T>> |
getEvents()
Returns the list of events.
|
public static <T> SpanData.TimedEvents<T> create(List<SpanData.TimedEvent<T>> events, int droppedEventsCount)
TimedEvents<T>.T - the type of value that is timed.events - the list of events.droppedEventsCount - the number of dropped events.TimedEvents<T>public abstract List<SpanData.TimedEvent<T>> getEvents()
public abstract int getDroppedEventsCount()