public interface Event<T extends Enum,S>
Modifier and Type | Method and 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.
|
long time()
T type()
S subject()