Uses of Class
com.soklet.McpCachePolicy
Packages that use McpCachePolicy
-
Uses of McpCachePolicy in com.soklet
Methods in com.soklet that return McpCachePolicyModifier and TypeMethodDescriptionstatic @NonNull McpCachePolicyMcpCachePolicy.fromPrivateTimeToLive(@NonNull Duration timeToLive) Creates a private policy with the supplied default time to live.static @NonNull McpCachePolicyMcpCachePolicy.fromPublicTimeToLive(@NonNull Duration timeToLive) Creates a public policy with the supplied default time to live.McpResourceRegistration.getCachePolicy()McpSkillRegistration.getCachePolicy()McpEndpoint.getResourceListCachePolicy()Returns the fixed cache policy for everyresources/listpage.McpEndpoint.getResourceTemplateListCachePolicy()Returns the fixed cache policy forresources/templates/list.McpEndpoint.getSkillListCachePolicy()static @NonNull McpCachePolicyMcpCachePolicy.privateNoCacheInstance()Returns the shared private policy with a zero time to live.Methods in com.soklet with parameters of type McpCachePolicyModifier and TypeMethodDescriptionMcpResourceRegistration.ExactBuilder.cachePolicy(@NonNull McpCachePolicy cachePolicy) McpResourceRegistration.TemplateBuilder.cachePolicy(@NonNull McpCachePolicy cachePolicy) McpSkillRegistration.Builder.cachePolicy(@NonNull McpCachePolicy cachePolicy) Replaces the registration's cache policy.McpEndpoint.Builder.resourceListCachePolicy(@Nullable McpCachePolicy resourceListCachePolicy) Sets the fixed scope and default time to live for everyresources/listpage.McpEndpoint.Builder.resourceTemplateListCachePolicy(@Nullable McpCachePolicy resourceTemplateListCachePolicy) Sets the fixed scope and default time to live forresources/templates/list.McpEndpoint.Builder.skillListCachePolicy(@Nullable McpCachePolicy skillListCachePolicy) Sets fixed cache scope and default freshness forskills/list.