Class CommitAttempt
java.lang.Object
io.fluxzero.sdk.modeling.CommitAttempt
Internal state of one model commit attempt, from its loaded begin-state through ordered changes and completion.
Instances used only as a handler read context leave the evaluation and completion portions empty.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordOne ordered mutation journal entry. -
Method Summary
Modifier and TypeMethodDescriptionattachTo(DeserializingMessage message) static CommitAttemptcreate(long readStateIndex, MutationPlan.Resolution resolution, Map<String, ? extends Entity<?>> loadedModels) Creates a loaded begin-state for one resolved target set.static CommitAttemptcreateSingle(long readStateIndex, String modelId, Class<?> modelType, MutationPlan.Access access, List<String> sourceProperties, Entity<?> entity) Creates the allocation-minimal begin-state used by a direct single-model strategy.entities()Entity<?> modelIds()longsteps()targets()
-
Method Details
-
create
public static CommitAttempt create(long readStateIndex, MutationPlan.Resolution resolution, Map<String, ? extends Entity<?>> loadedModels) Creates a loaded begin-state for one resolved target set. -
createSingle
public static CommitAttempt createSingle(long readStateIndex, String modelId, Class<?> modelType, MutationPlan.Access access, List<String> sourceProperties, Entity<?> entity) Creates the allocation-minimal begin-state used by a direct single-model strategy. -
readStateIndex
public long readStateIndex() -
modelIds
-
targets
-
target
-
entity
-
entities
-
attachTo
-
readModelIds
-
steps
-
transitions
-
cascadeRootIds
-