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 Details

    • publish

      boolean publish(ResultPartitionID partitionId, TaskEvent event)
      Publishes the event to the registered EventListener instances.
      Parameters:
      partitionId - the partition ID to get registered handlers
      event - the task event to be published to the handlers
      Returns:
      whether the event was published to a registered event handler or not