Uses of Interface
io.fluxzero.sdk.persisting.repository.ModelRepository
Packages that use ModelRepository
Package
Description
-
Uses of ModelRepository in io.fluxzero.sdk
Methods in io.fluxzero.sdk that return ModelRepositoryModifier and TypeMethodDescriptiondefault ModelRepositoryFluxzero.modelRepository()Returns the repository for independently stored models. -
Uses of ModelRepository in io.fluxzero.sdk.configuration
Methods in io.fluxzero.sdk.configuration that return ModelRepositoryModifier and TypeMethodDescriptionPublishedEventModelMigration.repository()Returns the isolated repository used to validate migrated state before cutover. -
Uses of ModelRepository in io.fluxzero.sdk.modeling
Methods in io.fluxzero.sdk.modeling with parameters of type ModelRepositoryModifier and TypeMethodDescriptionstatic <T> Graph<T> Graphs.compose(String rootId, long stateIndex, Map<String, Entity<?>> models, List<ModelGraphEdge> edges, ModelRepository repository, boolean historical) Creates a complete graph from one coherent repository reconstruction.static <T> Graph<T> Graphs.compose(String rootId, long stateIndex, Map<String, Entity<?>> models, List<ModelGraphEdge> edges, ModelRepository repository, boolean historical, ModelReadBoundary boundary) Creates a complete graph while retaining its exact repository boundary for lazy relationship loads.static <T> Graph<T> Graphs.compose(String rootId, long stateIndex, Map<String, Entity<?>> durableModels, List<ModelGraphEdge> durableEdges, ModelRepository repository, boolean historical, ModelReadBoundary boundary, String namespace, Class<T> rootType, Graph.Options options, Map<String, Entity<?>> staged, Function<Entity<?>, Graph<?>> supplementalLoader) Builds one indexed state with visible message-batch values applied before graph selection.static CommitAttemptCommitAttempt.currentReadContext(ModelRepository repository) Returns this repository's active mutation read context, never an event-replay or escaped async context.static CommitAttemptCommitAttempt.currentReplayContext(ModelRepository repository) Returns this repository's active replay input; never borrows another application's or namespace's context.static Entity<?> Graphs.currentRootOverlay(Object requested, boolean exact, Class<?> expected, ModelRepository repository, ModelBatchScope.Snapshot snapshot, ModelGraphResolver.Identity identity) Selects the captured batch value that supersedes a root identity, without reading its durable body.static Entity<?> Graphs.currentRootOverlay(Object requested, ModelIdResolution resolution, Class<?> expected, ModelRepository repository, ModelBatchScope.Snapshot snapshot, ModelGraphResolver.Identity identity) Selects a captured batch value using independent normalization and alias policy.static <T> Graph<T> Graphs.lazy(Entity<T> entity, long stateIndex, ModelRepository repository) Creates a lazy one-model graph without loading relationships.static Graph<?> Graphs.lazy(Object modelId, ModelRepository repository) Discovers an untyped root from its head while leaving its authoritative value lazy.static Graph<?> Graphs.lazy(Object modelId, ModelRepository repository, boolean applyAffixes) Discovers the root at call time while optionally bypassing typed-ID conversion and affixes.static <T> Graph<T> Graphs.lazy(Object parentId, Class<?> parentType, Object modelId, Class<T> modelType, ModelRepository repository) Creates a detached graph for a parent-scoped model.static <T> Graph<T> Graphs.lazy(Object modelId, Class<T> modelType, ModelRepository repository) Creates a detached graph whose model and relationship state remain lazy.static <T> Graph<T> Graphs.lazy(Object modelId, Class<T> modelType, ModelRepository repository, boolean applyAffixes) Creates a lazy alias-aware graph with optional ID conversion and affixes.static <T> Graph<T> Graphs.lazyCurrent(Object modelId, Class<T> modelType, ModelRepository repository) Creates a graph whose root deliberately resolves to the latest state instead of a handler boundary.static <T> Graph<T> Graphs.lazyCurrent(Object modelId, Class<T> modelType, ModelRepository repository, boolean applyAffixes) Creates a deliberately current alias-aware graph with optional ID conversion and affixes.static <T> Graph<T> Graphs.lazyRepositoryId(String repositoryId, Class<T> modelType, ModelRepository repository) Creates a detached graph for an exact persisted identity.static <T> Graph<T> Graphs.materialized(List<Graphs.MaterializedNode> nodes, Class<T> rootType, long stateIndex, Long previousStateIndex, ModelRepository repository, Map<Class<?>, List<String>> declaredPaths, Map<String, String> pathOverrides) Creates the same indexed graph view for a materialized search document.static <T> Graph<T> Graphs.pinnedRevision(Entity<T> entity, long stateIndex, ModelRepository repository) Internal result view retaining a known revision without consulting a subsequent current cache entry.static voidCommitAttempt.requireNoAtomicCallback(ModelRepository repository) Internal guard before a public asynchronous mutation leaves its originating thread.<T> Graph<T> CommitAttempt.trackGraph(Graph<T> graph, ModelRepository repository) Attaches the same attempt provenance to a repository-created Graph without changing its snapshot.CommitAttempt.withReplayReads(ModelRepository repository, ModelReadBoundary boundary) Binds replay reads to their original input without joining live mutation/conflict tracking. -
Uses of ModelRepository in io.fluxzero.sdk.persisting.repository
Classes in io.fluxzero.sdk.persisting.repository that implement ModelRepositoryModifier and TypeClassDescriptionclassDefault repository for independently stored models.Subclasses with type arguments of type ModelRepository in io.fluxzero.sdk.persisting.repositoryModifier and TypeClassDescriptionclassDefault repository for independently stored models.Subinterfaces with type arguments of type ModelRepository in io.fluxzero.sdk.persisting.repositoryModifier and TypeInterfaceDescriptioninterfaceRepository for loading independently storedmodels.Methods in io.fluxzero.sdk.persisting.repository that return ModelRepositoryModifier and TypeMethodDescriptionprotected ModelRepositoryDefaultModelRepository.createForNamespace(String namespace) DefaultModelRepository.followPublishedEventMigration(@NonNull String migrationName, @NonNull Duration maxWait) default ModelRepositoryModelRepository.followPublishedEventMigration(@NonNull String migrationName) Coordinates legacy-event Model and Graph reads with a published-event migration consumer.default ModelRepositoryModelRepository.followPublishedEventMigration(@NonNull String migrationName, @NonNull Duration maxWait) Coordinates legacy-event reads with a migration consumer using a bounded wait before normal handler retry takes over.default ModelRepositoryModelRepository.forNamespace(String namespace) Returns this repository scoped to the requested namespace.Methods in io.fluxzero.sdk.persisting.repository with parameters of type ModelRepositoryModifier and TypeMethodDescriptionbooleanDefaultModelRepository.sharesReadContext(ModelRepository other) Whether two repository views address the same application-owned Model state and exact namespace. -
Uses of ModelRepository in io.fluxzero.sdk.persisting.search
Methods in io.fluxzero.sdk.persisting.search with parameters of type ModelRepositoryModifier and TypeMethodDescriptionvoidDefaultDocumentStore.configureModelGraphSupport(ModelRepository modelRepository, Supplier<List<Class<?>>> modelTypesSupplier) Configures typed materialized-graph reconstruction after the model subsystem has initialized.DocumentMessageReader.register(Object target, HandlerFilter filter, ModelRepository repository) Registers durable notifications in the same namespace as the document consumer.Constructor parameters in io.fluxzero.sdk.persisting.search with type arguments of type ModelRepositoryModifierConstructorDescriptionMaterializedGraphParameterResolver(DocumentSerializer documentSerializer, Supplier<ModelRepository> repositorySupplier, Supplier<List<Class<?>>> modelTypesSupplier)