Uses of Enum Class
org.springframework.ai.anthropic.AnthropicCacheStrategy
Packages that use AnthropicCacheStrategy
Package
Description
Spring AI integration with Anthropic's Claude models using the official
Anthropic Java SDK.
-
Uses of AnthropicCacheStrategy in org.springframework.ai.anthropic
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<MessageType, AnthropicCacheTtl> messageTypeTtl, Map<MessageType, Integer> messageTypeMinContentLengths, Function<@Nullable String, Integer> contentLengthFunction, Set<MessageType> cacheEligibleMessageTypes)