Interface Event

    • Method Detail

      • createdAt

        long createdAt()
        Contains a nano timestamp when the event was created.
        Returns:
        the time this event got created.
      • severity

        Event.Severity severity()
        The Severity of this event.
        Returns:
        the event severity.
      • category

        String category()
        The Category of this event.
        Returns:
        the event category.
      • duration

        Duration duration()
        Returns the duration of this event.
        Returns:
        the duration of the even, 0 if not set.
      • context

        Context context()
        The context this event is referencing.
        Returns:
        the referencing context.
      • description

        String description()
        A textual description with more information about the event.
        Returns:
        the description, if set.
      • cause

        default Throwable cause()
        If present, holds the cause for this event. Usually present if raised because of an excetion.
        Returns:
        the throwable if present.