Interface McpLocalizationCatalogInvalidator


Thread-safe server-owned control plane for localized MCP catalog invalidation.

The invalidator is local to one server. Applications distribute and install immutable translation snapshots themselves, then invoke it on every applicable instance.

Author:
Mark Allen
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Invalidates future derived localized render state and publishes coarse framework-owned list-change notifications to eligible local streams.
     
  • Method Details

    • isEnabled

      Returns:
      whether localization was enabled when the server was built
    • invalidateCatalogs

      Invalidates future derived localized render state and publishes coarse framework-owned list-change notifications to eligible local streams. The call returns after the current generation accepts or coalesces the invalidation, not after client delivery. It is safe before start and after stop, when there is no active stream to notify.
      Throws:
      IllegalStateException - if localization is disabled