Class Event

java.lang.Object
java.util.EventObject
org.apache.shiro.event.Event
All Implemented Interfaces:
Serializable

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:
  • Constructor Details

  • Method Details

    • 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).