Class RewriteModelSourceDocument

java.lang.Object
io.fluxzero.common.api.Request
io.fluxzero.common.api.Command
io.fluxzero.common.api.search.RewriteModelSourceDocument
All Implemented Interfaces:
JsonType

public class RewriteModelSourceDocument extends Command
Persists a schema-only rewrite of an internal Model source without advancing the Model's head or history. Both the complete head and the verified previous document proof must still match. A stale request is a no-op; ordinary document writes never acquire trusted Model-state provenance through this operation.
  • Constructor Details

    • RewriteModelSourceDocument

      public RewriteModelSourceDocument()
  • Method Details

    • validate

      public void validate()
      Validates the source-only, non-deleting envelope before any persistence action.
    • routingKey

      public String routingKey()
      Description copied from class: Command
      Optionally specifies a routing key for this command, which may be used to partition work or apply consistent hashing when processed in the Fluxzero Runtime.
      Overrides:
      routingKey in class Command
      Returns:
      a routing key string, or null if not specified