Class ModelGraphInvalidation

java.lang.Object
io.fluxzero.common.search.ModelGraphInvalidation

public final class ModelGraphInvalidation extends Object
Small durable root notification. It contains no Model content or descendants.
  • Field Details

    • METADATA_KEY

      public static final String METADATA_KEY
      Marks a notification that must be hydrated from the current canonical node documents.
      See Also:
  • Method Details

    • isInvalidation

      public static boolean isInvalidation(SerializedDocument document)
      Returns whether the stored invalidation marker is present, without reconstructing unrelated metadata. Like the notification protocol, this checks key presence regardless of its value or graph facets.
    • create

      public static SerializedDocument create(SerializedDocument root, ModelGraphProjectionConfiguration configuration, long stateIndex)
      Captures the root identity and invalidation boundary without copying any of its content.