Interface TaskEventPublisher
-
- All Known Implementing Classes:
TaskEventDispatcher
public interface TaskEventPublisher
The task event publisher is used for publishing the event to the registeredEventListener
instances.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
publish(ResultPartitionID partitionId, TaskEvent event)
Publishes the event to the registeredEventListener
instances.
-
-
-
Method Detail
-
publish
boolean publish(ResultPartitionID partitionId, TaskEvent event)
Publishes the event to the registeredEventListener
instances.- Parameters:
partitionId
- the partition ID to get registered handlersevent
- the task event to be published to the handlers- Returns:
- whether the event was published to a registered event handler or not
-
-