Interface InMemoryEventStore.ModelGraphProjectionMaterializer

Enclosing class:
InMemoryEventStore
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface InMemoryEventStore.ModelGraphProjectionMaterializer
Writes current materialized graph documents, returning their local-handler publication for execution after the graph-projection fence has advanced.
  • Method Details

    • materialize

      Runnable materialize(ModelGraphProjectionConfiguration configuration, Set<String> rootIds, long stateIndex, boolean rebuild)
      Materializes Graph documents for the supplied roots and state index, optionally rebuilding them. Returns the publication action to run after the Graph-projection fence advances.
    • materializeSchema

      default Runnable materializeSchema(ModelGraphProjectionConfiguration configuration, Set<String> rootIds, long stateIndex)
      Materializes schema changes without removing unrelated roots or bypassing newer business boundaries.