Package at.aimon.session.web
Class WebSubmitOutcome
java.lang.Object
at.aimon.session.web.WebSubmitOutcome
Outcome of
WebAgentSessionManager.submit(WebSubmitRequest).
Either WebSubmitOutcome.Kind.EXECUTED_LOCALLY (the calling node acquired the lock and is running the turn — caller observes
the future), or WebSubmitOutcome.Kind.QUEUED (the message was deferred to the cross-node inbox — caller observes results via
WebAgentSessionManager.events(at.aimon.core.agent.conversation.ConversationId)).
Per design §9.1 this is intentionally distinct from SubmitOutcome (which has
session-level idle/busy semantics rather than node-level inline-vs-deferred semantics).
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumDistinguishes the two manager-level outcomes. -
Method Summary
Modifier and TypeMethodDescriptionstatic WebSubmitOutcomeexecutedLocally(CompletionStage<at.aimon.core.agent.AgentExecutionResult> future) Optional<CompletionStage<at.aimon.core.agent.AgentExecutionResult>> getKind()static WebSubmitOutcomequeued(InboundMessageId inboxId)
-
Method Details
-
executedLocally
public static WebSubmitOutcome executedLocally(CompletionStage<at.aimon.core.agent.AgentExecutionResult> future) -
queued
-
getKind
-
getFuture
-
getInboxId
-