Interface TaskEventPublisher
- All Known Implementing Classes:
TaskEventDispatcher
public interface TaskEventPublisher
The task event publisher is used for publishing the event to the registered
EventListener
instances.-
Method Summary
Modifier and TypeMethodDescriptionbooleanpublish(ResultPartitionID partitionId, TaskEvent event) Publishes the event to the registeredEventListenerinstances.
-
Method Details
-
publish
Publishes the event to the registeredEventListenerinstances.- 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
-