Interface Event<T extends java.lang.Enum,​S>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      S subject()
      Returns the subject of the event.
      long time()
      Returns the timestamp of when the event occurred, given in milliseconds since the start of epoch.
      T type()
      Returns the type of the event.
    • Method Detail

      • time

        long time()
        Returns the timestamp of when the event occurred, given in milliseconds since the start of epoch.
        Returns:
        timestamp in milliseconds
      • type

        T type()
        Returns the type of the event.
        Returns:
        event type
      • subject

        S subject()
        Returns the subject of the event.
        Returns:
        subject to which this event pertains