Interface PostStatusUpdateListener

All Superinterfaces:
EventListener

public interface PostStatusUpdateListener extends EventListener
Listener providing a callback to be invoked after the task's status update has been sent to the driver. This is useful for operations that should only begin after the driver has been notified of the task's result, such as push-based shuffle block push, where starting push before the driver processes the result can lead to stale data being merged without detection.

The callback runs on the same executor thread that sends the status update. It should perform only lightweight work (e.g., submitting async I/O to another thread pool) to avoid blocking the executor task thread.

Listeners are guaranteed to execute sequentially in reverse order of registration.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
  • Method Details

    • onStatusUpdateSent

      void onStatusUpdateSent(TaskContext context)