Interface ModelCommitBatchingClient
- All Known Implementing Classes:
WebSocketEventStoreClient
public interface ModelCommitBatchingClient
Allows already-prepared, independent model commits to enter the websocket queue as one batch.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfacestatic final recordRequest-owned context for completing model commits in the transport result batch that contains them.static interfaceCompletes aligned model results and their request-owned contexts as one unit. -
Method Summary
Modifier and TypeMethodDescriptionbeginModelCommitBatch(int capacity) Begins a transport batch for commits that become ready independently during handler execution.
-
Method Details
-
beginModelCommitBatch
-
beginReadyModelCommitBatch
Begins a transport batch for commits that become ready independently during handler execution.Unlike
beginModelCommitBatch(int), this batch does not imply that commit execution waits for the batch boundary. Implementations may release bounded full chunks immediately and useModelCommitBatchingClient.ModelCommitBatch.flush()only to release the remaining tail. Returningnullretains individual commit transport.
-