T
- Event type classpublic interface TypedEvent<T extends Enum<?>> extends Event
Modifier and Type | Method and Description |
---|---|
long |
ts()
Returns the event timestamp - when it happened.
|
T |
type()
Returns the type of event - what happened.
|
long ts()
The timestamp is set to System.currentTimeMillis()
at the
time the event was created.
T type()
Copyright © 2016. All Rights Reserved.