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.ObjectDeprecated.This class is for internal use only.Superclass forMessageEventandNetworkEventto resolve API backward compatibility issue.SpanData.createcan'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.BaseMessageEventallows the same method to accept bothTimedEvents<NetworkEvent>andTimedEvents<MessageEvent>.This class should only be extended by
NetworkEventandMessageEvent.- Since:
- 0.12
-
-
Constructor Summary
Constructors Constructor Description BaseMessageEvent()Deprecated.
-