Package io.opencensus.trace
Class BaseMessageEvent
- java.lang.Object
-
- io.opencensus.trace.BaseMessageEvent
-
- Direct Known Subclasses:
MessageEvent
,NetworkEvent
@Deprecated public abstract class BaseMessageEvent extends java.lang.Object
Deprecated.This class is for internal use only.Superclass forMessageEvent
andNetworkEvent
to resolve API backward compatibility issue.SpanData.create
can't be overloaded with parameter types that differ only in the type of the TimedEvent, because the signatures are the same after generic type erasure.BaseMessageEvent
allows the same method to accept bothTimedEvents<NetworkEvent>
andTimedEvents<MessageEvent>
.This class should only be extended by
NetworkEvent
andMessageEvent
.- Since:
- 0.12
-
-
Constructor Summary
Constructors Constructor Description BaseMessageEvent()
Deprecated.
-