public interface EventToken
At any point in time, exactly one of the methods isPending(),
hasBeenCancelled(), or hasBeenExecuted() will return true.
| Modifier and Type | Method and Description |
|---|---|
void |
cancel()
Cancel the event, i.e.
|
boolean |
hasBeenCancelled() |
boolean |
hasBeenExecuted() |
boolean |
isPending() |
boolean isPending()
boolean hasBeenExecuted()
boolean hasBeenCancelled()
void cancel()