Add cache-control force release support#119
Closed
mitonize wants to merge 6 commits intodevelop-2.0from
Closed
Conversation
NamespaceImpl のインスタンスキャッシュ(ReferenceCache)を撤去し、実装を copy ベースに整理。\n\n背景/根拠:\n- NamespaceImpl.getInstance(...) の実呼び出しは存在せず、参照はコメントアウトのみ。\n- SpecificationUtil.getFixedNamespace(...) は original をそのまま返しており、固定化キャッシュの導線は実質無効。\n- Namespace の主要実体は SpecificationNodeImpl 側で保持され、NamespaceImpl 単独はパース時の一時スコープ用途が中心。\n- そのため singleton/intern キャッシュ層は実効性が低く、理解コストのみ増やしていた。\n\n変更内容:\n- NamespaceImpl から ReferenceCache 依存と getInstance API を削除。\n- copyOf は親 Namespace を再帰 copy する方式に変更。\n- deserialize 内の旧キャッシュ登録処理を削除。\n- 旧 getInstance 参照のコメントを SpecificationUtil / TemplateBuilderImpl から削除。\n\n互換性:\n- Namespace の公開契約(振る舞い)は維持。\n- test-compile 通過を確認済み。
- remove local source-script cache from AbstractServiceCycle\n- add SourceCompiledScript cache in ScriptEnvironmentImpl\n- register SourceCompiledScript cache to CacheControllerRegistry\n- normalize null encoding for stable cache key
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary\n- add force release operation to cache control registry\n- expose operation via CacheControlMXBean API\n- document management operation updates\n\n## Notes\n- this PR contains currently staged management/cache-control changes only