public interface Event extends Entity
Modifier and Type | Method and Description |
---|---|
long |
getTTL()
Gets the TTL (Time To Live) of the event, i.e. how long an event should be valid.
|
boolean |
hasExpiryAction()
Checks whether the event has an expiry action.
|
void |
onExpiry()
Called when the TTL expires.
|
long getTTL()
boolean hasExpiryAction()
void onExpiry()