Class McpCachePolicy

java.lang.Object
com.soklet.McpCachePolicy

@ThreadSafe public final class McpCachePolicy extends Object
Immutable MCP application-cache policy.

The policy fixes both the cache scope and the default time to live for its owning operation. A result may override only the time to live where the operation's result type explicitly permits it.

The cache vocabulary is revision-sensitive rather than a permanent closed enum contract. Code switching on cache scope should retain a forward-compatible default for a future protocol revision.

Author:
Mark Allen