Uses of Class
io.fluxzero.common.api.modeling.CommitModels
Packages that use CommitModels
Package
Description
-
Uses of CommitModels in io.fluxzero.common.api.modeling
Subclasses of CommitModels in io.fluxzero.common.api.modelingModifier and TypeClassDescriptionfinal classAtomically validates consumed alias mappings alongside Model heads, relationship reads and document projections.final classCommits SDK-computed ordinary scheduler effects together with Model state.final classCommits internal Model sources and independent document projections together.final classAtomically validates explicit alias selections with Model mutations and existing commit facets.final classA Model commit that additionally validates relationship selections.Methods in io.fluxzero.common.api.modeling that return CommitModelsModifier and TypeMethodDescriptionCommitModels.withDeadlineUpdates(List<ModelDeadlineUpdate> updates) Replaces scheduler effects while retaining explicit identity observations and all existing commit facets.Methods in io.fluxzero.common.api.modeling with parameters of type CommitModelsModifier and TypeMethodDescriptionstatic RequestResultModelCommitWireCodec.compactAcceptedResult(CommitModels request, long stateIndex, Long eventIndex, long sequenceNumber, boolean historyComplete) Creates a compact Runtime result retaining only the commit and model identity references needed for delivery through another transport.static RequestResultModelCommitWireCodec.restoreResultContext(RequestResult candidate, CommitModels request) Completes a compact decoded result with identities owned by its correlated request.static voidModelCommitValidator.validate(CommitModels commit) Validates the structural model-commit wire contract.Constructors in io.fluxzero.common.api.modeling with parameters of type CommitModelsModifierConstructorDescriptionCommitModelsWithAliasReads(CommitModels commit, List<String> readAliasIds) Retains all commit capabilities and its original transport identity.CommitModelsWithDeadlines(CommitModels commit, List<ModelDeadlineUpdate> updates) CommitModelsWithIdentityReads(CommitModels commit, List<ModelAliasObservation> observations) CommitModelsWithRelationships(CommitModels commit, List<ModelRelationshipRead> readRelationships) Adds immutable relationship dependencies while retaining the original request and commit identity. -
Uses of CommitModels in io.fluxzero.common.modeling
Methods in io.fluxzero.common.modeling that return CommitModelsModifier and TypeMethodDescriptionModelCommitAssignment.Description.source()Returns the value of thesourcerecord component.Methods in io.fluxzero.common.modeling with parameters of type CommitModelsModifier and TypeMethodDescriptionModelCommitAssignment.describe(CommitModels source) Describes target scope and optional work before positions are assigned.static <H> List<ModelCommitConflict> ModelCommitConflicts.detect(CommitModels commit, Map<String, ? extends H> heads, ToLongFunction<? super H> sequenceNumber, ToLongFunction<? super H> stateIndex, Map<String, Long> relationStateIndices) Detects stale read-state and expected-sequence conflicts in stable request order.static <H> List<ModelCommitConflict> ModelCommitConflicts.detect(CommitModels commit, Map<String, ? extends H> heads, ToLongFunction<? super H> sequenceNumber, ToLongFunction<? super H> stateIndex, Map<String, Long> relationStateIndices, Iterable<String> relationshipSensitiveModelIds) Detects ordinary model conflicts plus relationship-only changes for identities whose evaluated operation depended on their relationship closure, such as cascade-deletion roots.static List<ModelCommitConflict> ModelCommitConflicts.detectAliases(CommitModels commit, List<ModelCommitConflict> existing, ToLongFunction<String> positions) Adds alias conflicts without mixing resolved owners into the canonical head-assignment map.static List<ModelCommitConflict> ModelCommitConflicts.detectAliasOwners(CommitModels commit, Function<String, String> owners, long currentBoundary) Checks explicit alias-owner observations independently of equal primary IDs.static List<ModelCommitConflict> ModelCommitConflicts.detectErasedReads(CommitModels commit, List<ModelCommitConflict> existing, ToLongFunction<String> erasedPositions) Adds conflicts for physically erased read identities without rejecting fresh reads of their absence.static List<ModelCommitConflict> ModelCommitConflicts.detectRelationships(CommitModels commit, List<ModelCommitConflict> existing, ToLongFunction<ModelRelationshipRead> positions) Adds membership conflicts using relationship positions read under the same atomic boundary as the write.static CommitModelsResultModelCommitConflicts.result(CommitModels commit, List<ModelCommitConflict> conflicts, long rebaseBoundary) Maps detected conflicts to the outcome required by the commit's resolved conflict policy.Constructors in io.fluxzero.common.modeling with parameters of type CommitModelsModifierConstructorDescriptionDescription(CommitModels source, List<String> targetIds, List<String> unstoredTargetIds, boolean mayMaterialize, List<ModelCommitAssignment.RelationshipStep> relationshipSteps, Set<String> finalDeletedModelIds, List<String> cascadeRootIds, ModelCommitAssignment.Aliases aliases) Creates an instance of aDescriptionrecord class. -
Uses of CommitModels in io.fluxzero.sdk.persisting.eventsourcing.client
Methods in io.fluxzero.sdk.persisting.eventsourcing.client with parameters of type CommitModelsModifier 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.InMemoryEventStore.ModelCommitMaterializer.materialize(CommitModels commit, List<ModelUpdate> assignedUpdates, Set<String> excludedModelIds) Materializes direct Model documents and eligible snapshots, excluding the supplied Model identifiers. -
Uses of CommitModels in io.fluxzero.sdk.persisting.repository
Methods in io.fluxzero.sdk.persisting.repository that return CommitModelsModifier and TypeMethodDescriptionDefaultModelRepository.Commit.Outcome.commit()Returns the prepared wire commit, or null when the attempt requires no commit. -
Uses of CommitModels in io.fluxzero.sdk.persisting.search.client
Methods in io.fluxzero.sdk.persisting.search.client with parameters of type CommitModelsModifier and TypeMethodDescriptionvoidInMemorySearchStore.materializeModelCommit(CommitModels commit, List<ModelUpdate> assignedUpdates, Set<String> excludedModelIds) Prepares and executes document materialization for the assigned Model commit, excluding the supplied Model identifiers.InMemorySearchStore.prepareModelCommit(CommitModels commit, List<ModelUpdate> assignedUpdates, Set<String> excludedModelIds) Materializes direct Model documents and returns their deferred local-monitor publication.