Uses of Enum Class
org.springframework.ai.anthropic.AnthropicCacheTtl
Packages that use AnthropicCacheTtl
Package
Description
Spring AI integration with Anthropic's Claude models using the official
Anthropic Java SDK.
-
Uses of AnthropicCacheTtl in org.springframework.ai.anthropic
Methods in org.springframework.ai.anthropic that return AnthropicCacheTtlModifier and TypeMethodDescriptionstatic AnthropicCacheTtlReturns the enum constant of this class with the specified name.static AnthropicCacheTtl[]AnthropicCacheTtl.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.springframework.ai.anthropic that return types with arguments of type AnthropicCacheTtlModifier and TypeMethodDescriptionMap<org.springframework.ai.chat.messages.MessageType,AnthropicCacheTtl> AnthropicCacheOptions.getMessageTypeTtl()Methods in org.springframework.ai.anthropic with parameters of type AnthropicCacheTtlModifier and TypeMethodDescriptionAnthropicCacheOptions.Builder.messageTypeTtl(org.springframework.ai.chat.messages.MessageType messageType, AnthropicCacheTtl ttl) Method parameters in org.springframework.ai.anthropic with type arguments of type AnthropicCacheTtlModifier and TypeMethodDescriptionAnthropicCacheOptions.Builder.messageTypeTtl(@Nullable Map<org.springframework.ai.chat.messages.MessageType, AnthropicCacheTtl> messageTypeTtl) Constructor parameters in org.springframework.ai.anthropic with type arguments of type AnthropicCacheTtlModifierConstructorDescriptionprotectedAnthropicCacheOptions(@Nullable AnthropicCacheStrategy strategy, @Nullable Function<@Nullable String, Integer> contentLengthFunction, @Nullable Map<org.springframework.ai.chat.messages.MessageType, AnthropicCacheTtl> messageTypeTtl, @Nullable Map<org.springframework.ai.chat.messages.MessageType, Integer> messageTypeMinContentLengths, @Nullable Boolean multiBlockSystemCaching, @Nullable Boolean cacheToolResults) CacheEligibilityResolver(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)