Class TaskFinalizedEvent

java.lang.Object
io.a2a.extras.common.events.TaskFinalizedEvent

public class TaskFinalizedEvent extends Object
CDI event fired when a task reaches a final state and is successfully persisted to the database. This event is fired AFTER the database transaction commits, making it safe for downstream components to assume the task is durably stored.

Used by the replicated queue manager to send poison pill events after ensuring the final task state is committed to the database, eliminating race conditions.

  • Constructor Details

    • TaskFinalizedEvent

      public TaskFinalizedEvent(String taskId)
  • Method Details