Class Event

  • All Implemented Interfaces:
    Serializable
    Direct Known Subclasses:
    BeanEvent

    public abstract class Event
    extends EventObject
    Root class for all of Shiro's event classes. Provides access to the timestamp when the event occurred.
    Since:
    1.3
    See Also:
    Serialized Form
    • Method Detail

      • getTimestamp

        public long getTimestamp()
        Returns the timestamp when this event occurred as the number of milliseconds since Epoch (UTC time zone).
        Returns:
        the timestamp when this event occurred as the number of milliseconds since Epoch (UTC time zone).