Uses of Class
io.fluxzero.common.api.modeling.CommitModelsResult
Packages that use CommitModelsResult
Package
Description
-
Uses of CommitModelsResult in io.fluxzero.common.api.modeling
Methods in io.fluxzero.common.api.modeling that return CommitModelsResultModifier and TypeMethodDescriptionstatic CommitModelsResultCommitModelsResult.accepted(long requestId, String commitId, List<ModelUpdate> updates) Creates an accepted commit result.static CommitModelsResultCommitModelsResult.acceptedSingleTarget(long requestId, String commitId, long stateIndex, Long eventIndex, String modelId, long sequenceNumber, boolean historyComplete) Creates the common one-substep, one-target accepted result.CommitModelsResult.asDuplicateForRequest(long requestId) Copies this accepted result for an idempotent duplicate request.static CommitModelsResultCommitModelsResult.conflict(long requestId, String commitId, List<ModelCommitConflict> conflicts, boolean retryAllowed) Creates a rejected conflict result.CommitModelsResult.forRequest(long requestId) Copies this logical result with another transport request ID.static CommitModelsResultCommitModelsResult.rebase(long requestId, String commitId, List<ModelCommitConflict> changedModels, long rebaseStateIndex) Requests an internal apply-only rebase at the supplied current boundary.static CommitModelsResultCommitModelsResult.reevaluateDeadlines(long requestId, String commitId, long cutoff) Rejects only the time-sensitive deadline plan; no idempotency receipt is retained. -
Uses of CommitModelsResult in io.fluxzero.common.modeling
Methods in io.fluxzero.common.modeling that return CommitModelsResultModifier and TypeMethodDescriptionModelCommitAssignment.Commit.result()Returns the authoritative commit result, constructing and retaining it on first access.static CommitModelsResultModelCommitConflicts.result(CommitModels commit, List<ModelCommitConflict> conflicts, long rebaseBoundary) Maps detected conflicts to the outcome required by the commit's resolved conflict policy. -
Uses of CommitModelsResult in io.fluxzero.sdk.modeling
Methods in io.fluxzero.sdk.modeling that return CommitModelsResultModifier and TypeMethodDescriptionModelConflictResolver.Context.result()Returns the value of theresultrecord component.Constructors in io.fluxzero.sdk.modeling with parameters of type CommitModelsResultModifierConstructorDescriptionContext(CommitModelsResult result, int retries, int maxRetries) Creates an instance of aContextrecord class.Creates an exception containing the runtime's current model and relationship positions. -
Uses of CommitModelsResult in io.fluxzero.sdk.persisting.eventsourcing.client
Methods in io.fluxzero.sdk.persisting.eventsourcing.client that return types with arguments of type CommitModelsResultModifier and TypeMethodDescriptionModelCommitBatchingClient.ModelCommitBatch.add(int slot, CommitModels commit) Adds a prepared commit at its reserved slot and returns a future for that commit's result.default CompletableFuture<CommitModelsResult> ModelCommitBatchingClient.ModelCommitBatch.add(int slot, CommitModels commit, ModelCommitBatchingClient.ModelCommitCompletion completion) Adds a commit whose post-commit work may be combined with other results in the same transport response.default CompletableFuture<CommitModelsResult> EventStoreClient.commitModels(CommitModels commit) Atomically commits the ordered state transitions of one independent-model commit.InMemoryEventStore.commitModels(CommitModels commit) WebSocketEventStoreClient.commitModels(CommitModels commit) Commits an independent-model commit and retains the positions returned by the Runtime.Method parameters in io.fluxzero.sdk.persisting.eventsourcing.client with type arguments of type CommitModelsResultModifier and TypeMethodDescriptionModelCommitBatchingClient.ModelCommitResultProcessor.process(List<CommitModelsResult> results, List<Object> contexts) Processes commit results together with their positionally aligned request contexts; the future completes when post-commit processing finishes or fails. -
Uses of CommitModelsResult in io.fluxzero.sdk.persisting.repository
Methods in io.fluxzero.sdk.persisting.repository that return CommitModelsResultModifier and TypeMethodDescriptionDefaultModelRepository.Commit.Outcome.result()Returns the authoritative result attached to this outcome, or null before a result is attached.Methods in io.fluxzero.sdk.persisting.repository that return types with arguments of type CommitModelsResultModifier and TypeMethodDescriptionDefaultModelRepository.Commit.commit(String commitId, CommitAttempt evaluation) Prepares and commits an attempt withModelConflictPolicy.ACCEPT; returns an empty result when there is no commit to send.DefaultModelRepository.Commit.commit(String commitId, CommitAttempt evaluation, ModelConflictPolicy conflictPolicy) Prepares and commits an attempt with the supplied conflict policy.DefaultModelRepository.Commit.commitPrepared(DefaultModelRepository.Commit.Outcome prepared, ModelCommitBatchingClient.ModelCommitBatch batch, int batchSlot) Submits a prepared commit directly or through a reserved batch slot and completes required result processing.DefaultModelRepository.Commit.trackLocalCommit(CommitAttempt attempt, DeserializingMessage message, boolean migration, Supplier<CompletableFuture<Optional<CommitModelsResult>>> operation) Keeps tracker fencing around the complete commit and retry lifecycle.DefaultModelRepository.Commit.trackLocalCommit(CommitAttempt attempt, DeserializingMessage message, boolean migration, Supplier<CompletableFuture<Optional<CommitModelsResult>>> operation, Runnable afterCommit) Releases process-local commit ordering after cache/tracker publication and before optional Graph waiting.Methods in io.fluxzero.sdk.persisting.repository with parameters of type CommitModelsResultModifier and TypeMethodDescription<T> Graph<T> DefaultModelRepository.committedGraph(DefaultModelRepository.Commit.Outcome prepared, CommitModelsResult result, String modelId, Entity<T> previous) Internal atomic-operation result built from its acknowledged revisions, never a post-commit load.Method parameters in io.fluxzero.sdk.persisting.repository with type arguments of type CommitModelsResultModifier and TypeMethodDescriptionDefaultModelRepository.Commit.trackLocalCommit(CommitAttempt attempt, DeserializingMessage message, boolean migration, Supplier<CompletableFuture<Optional<CommitModelsResult>>> operation) Keeps tracker fencing around the complete commit and retry lifecycle.DefaultModelRepository.Commit.trackLocalCommit(CommitAttempt attempt, DeserializingMessage message, boolean migration, Supplier<CompletableFuture<Optional<CommitModelsResult>>> operation, Runnable afterCommit) Releases process-local commit ordering after cache/tracker publication and before optional Graph waiting. -
Uses of CommitModelsResult in io.fluxzero.sdk.scheduling
Methods in io.fluxzero.sdk.scheduling that return types with arguments of type CommitModelsResultModifier and TypeMethodDescriptionDefaultMessageScheduler.registerDeadlineCommit(List<ModelDeadlineUpdate> updates) default Consumer<CommitModelsResult> MessageScheduler.registerDeadlineCommit(List<ModelDeadlineUpdate> updates) Reserves local deadline delivery before submission.