Class TaskFinalizedEvent

java.lang.Object
org.a2aproject.sdk.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 the final task state before the poison pill, ensuring correct event ordering across instances and eliminating race conditions.

  • Constructor Details

    • TaskFinalizedEvent

      public TaskFinalizedEvent(String taskId, Object task)
  • Method Details