Class SseConstants
java.lang.Object
com.mulesoft.connectors.a2a.internal.server.agent.sse.SseConstants
Constants for SSE event types and configuration values. Centralizes SSE-related constants for consistency across the codebase.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringSSE event type for task artifact updates.static final longPolling interval in seconds for cross-worker SSE event delivery.static final intMaximum concurrent tasks for the A2A scheduler used for SSE polling.static final booleanWhether the A2A scheduler allows waiting (blocking) operations.static final StringSSE event type for task status updates.static final StringSSE event type for initial task events. -
Method Summary
-
Field Details
-
STATUS_UPDATE_EVENT
SSE event type for task status updates.- See Also:
-
ARTIFACT_UPDATE_EVENT
SSE event type for task artifact updates.- See Also:
-
TASK_EVENT
SSE event type for initial task events.- See Also:
-
POLLER_INTERVAL_SECONDS
public static final long POLLER_INTERVAL_SECONDSPolling interval in seconds for cross-worker SSE event delivery.- See Also:
-
SCHEDULER_MAX_CONCURRENT_TASKS
public static final int SCHEDULER_MAX_CONCURRENT_TASKSMaximum concurrent tasks for the A2A scheduler used for SSE polling.- See Also:
-
SCHEDULER_WAIT_ALLOWED
public static final boolean SCHEDULER_WAIT_ALLOWEDWhether the A2A scheduler allows waiting (blocking) operations.- See Also:
-