Class ImmutableEventData

    • Constructor Detail

      • ImmutableEventData

        ImmutableEventData()
    • Method Detail

      • create

        static EventData create​(long epochNanos,
                                java.lang.String name,
                                Attributes attributes)
        Returns a new immutable Event.
        Parameters:
        epochNanos - epoch timestamp in nanos of the Event.
        name - the name of the Event.
        attributes - the attributes of the Event.
        Returns:
        a new immutable Event<T>
      • create

        static EventData create​(long epochNanos,
                                java.lang.String name,
                                Attributes attributes,
                                int totalAttributeCount)
        Returns a new immutable Event.
        Parameters:
        epochNanos - epoch timestamp in nanos of the Event.
        name - the name of the Event.
        attributes - the attributes of the Event.
        totalAttributeCount - the total number of attributes recorded for the Event.
        Returns:
        a new immutable Event<T>