Uses of Enum Class
org.springframework.ai.anthropic.AnthropicCacheStrategy
-
Uses of AnthropicCacheStrategy in org.springframework.ai.anthropic
Subclasses with type arguments of type AnthropicCacheStrategy in org.springframework.ai.anthropicModifier and TypeClassDescriptionenumDefines the caching strategy for Anthropic prompt caching.Methods in org.springframework.ai.anthropic 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 with parameters of type AnthropicCacheStrategyModifier and TypeMethodDescriptionvoidAnthropicCacheOptions.setStrategy(AnthropicCacheStrategy strategy) AnthropicCacheOptions.Builder.strategy(AnthropicCacheStrategy strategy) Constructors in org.springframework.ai.anthropic 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<@Nullable String, Integer> contentLengthFunction, Set<org.springframework.ai.chat.messages.MessageType> cacheEligibleMessageTypes)