Uses of Enum Class
org.springframework.ai.anthropic.api.AnthropicCacheStrategy
Packages that use AnthropicCacheStrategy
-
Uses of AnthropicCacheStrategy in org.springframework.ai.anthropic.api
Subclasses with type arguments of type AnthropicCacheStrategy in org.springframework.ai.anthropic.apiModifier and TypeClassDescriptionenumDefines the caching strategy for Anthropic prompt caching.Methods in org.springframework.ai.anthropic.api that return AnthropicCacheStrategyModifier and TypeMethodDescriptionAnthropicCacheOptions.getStrategy()static AnthropicCacheStrategyReturns the enum constant of this class with the specified name.static AnthropicCacheStrategy[]AnthropicCacheStrategy.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.springframework.ai.anthropic.api with parameters of type AnthropicCacheStrategyModifier and TypeMethodDescriptionvoidAnthropicCacheOptions.setStrategy(AnthropicCacheStrategy strategy) AnthropicCacheOptions.Builder.strategy(AnthropicCacheStrategy strategy) -
Uses of AnthropicCacheStrategy in org.springframework.ai.anthropic.api.utils
Constructors in org.springframework.ai.anthropic.api.utils with parameters of type AnthropicCacheStrategyModifierConstructorDescriptionCacheEligibilityResolver(AnthropicCacheStrategy cacheStrategy, Map<org.springframework.ai.chat.messages.MessageType, AnthropicCacheTtl> messageTypeTtl, Map<org.springframework.ai.chat.messages.MessageType, Integer> messageTypeMinContentLengths, Function<String, Integer> contentLengthFunction, Set<org.springframework.ai.chat.messages.MessageType> cacheEligibleMessageTypes)