QueuedEvent¶
QueuedEvent is a ControllerEvent with the time it was enqueued to ControllerEventManager.
Creating Instance¶
QueuedEvent takes the following to be created:
- ControllerEvent
- Enqueue time (in millis)
QueuedEvent is created when:
ControllerEventManageris requested to enqueue a ControllerEvent
Processing ControllerEventProcessor¶
process(
processor: ControllerEventProcessor): Unit
process requests the input ControllerEventProcessor to process the ControllerEvent.
process is used when:
ControllerEventThreadis requested to doWork
String (Textual) Representation¶
toString: String
toString is part of the java.lang.Object abstraction.
toString returns the following string representation (with the ControllerEvent and the enqueue time):
QueuedEvent(event=[event], enqueueTimeMs=[enqueueTimeMs])