Class ModelGraphInvalidation
java.lang.Object
io.fluxzero.common.search.ModelGraphInvalidation
Small durable root notification. It contains no Model content or descendants.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringMarks a notification that must be hydrated from the current canonical node documents. -
Method Summary
Modifier and TypeMethodDescriptionstatic SerializedDocumentcreate(SerializedDocument root, ModelGraphProjectionConfiguration configuration, long stateIndex) Captures the root identity and invalidation boundary without copying any of its content.static booleanisInvalidation(SerializedDocument document) Returns whether the stored invalidation marker is present, without reconstructing unrelated metadata.
-
Field Details
-
METADATA_KEY
Marks a notification that must be hydrated from the current canonical node documents.- See Also:
-
-
Method Details
-
isInvalidation
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.
-