Interface TaskEventPublisher
-
- All Known Implementing Classes:
TaskEventDispatcher
public interface TaskEventPublisherThe task event publisher is used for publishing the event to the registeredEventListenerinstances.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanpublish(ResultPartitionID partitionId, TaskEvent event)Publishes the event to the registeredEventListenerinstances.
-
-
-
Method Detail
-
publish
boolean publish(ResultPartitionID partitionId, TaskEvent event)
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
-
-