public abstract class Event<TOPIC extends Topic,PAYLOAD> extends GCUBEEvent<TOPIC,PAYLOAD>
GCUBEEvent for events about Topics.
Subclasses may specialise the topic and payload of events, though the must implement toString()
for the benefit of generic consumers.
Monitor| Modifier and Type | Class and Description |
|---|---|
static class |
Event.Done
Specialises
Event.LifetimeEvent for events that signal that the execution of a handler has successfully completed. |
static class |
Event.Failed
Specialises
Event.LifetimeEvent for events that signal that the execution of a handler has failed. |
static class |
Event.LifetimeEvent
Abstract specialisation of
Event for lifetime events. |
static class |
Event.Running
Specialises
Event.LifetimeEvent for events that signal that the execution of a handler has started or resumed. |
static class |
Event.Suspended
Specialises
Event.LifetimeEvent for events that signal that the execution of a handler is suspended. |
payload, producer, timeStamp, topic| Constructor and Description |
|---|
Event() |
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
getPayload, getProducer, getTimeStamp, getTopic, isExpired, setPayload, setProducer, setTopicCopyright © 2015. All Rights Reserved.