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 TypeMethodDescriptionAnthropicCacheOptions.Builder.strategy(@Nullable AnthropicCacheStrategy strategy) Constructors in org.springframework.ai.anthropic with parameters of type AnthropicCacheStrategyModifierConstructorDescriptionprotectedAnthropicCacheOptions(@Nullable AnthropicCacheStrategy strategy, @Nullable Function<@Nullable String, Integer> contentLengthFunction, @Nullable Map<MessageType, AnthropicCacheTtl> messageTypeTtl, @Nullable Map<MessageType, Integer> messageTypeMinContentLengths, @Nullable Boolean multiBlockSystemCaching, @Nullable Boolean cacheToolResults) CacheEligibilityResolver(AnthropicCacheStrategy cacheStrategy, Map<MessageType, AnthropicCacheTtl> messageTypeTtl, Map<MessageType, Integer> messageTypeMinContentLengths, Function<@Nullable String, Integer> contentLengthFunction, Set<MessageType> cacheEligibleMessageTypes) -
Uses of AnthropicCacheStrategy in org.springframework.ai.model.anthropic.autoconfigure
Methods in org.springframework.ai.model.anthropic.autoconfigure that return AnthropicCacheStrategyModifier and TypeMethodDescription@Nullable AnthropicCacheStrategyAnthropicCacheProperties.getStrategy()Methods in org.springframework.ai.model.anthropic.autoconfigure with parameters of type AnthropicCacheStrategyModifier and TypeMethodDescriptionvoidAnthropicCacheProperties.setStrategy(@Nullable AnthropicCacheStrategy strategy)