Uses of Enum Class
org.springframework.ai.anthropic.AnthropicCacheTtl
-
Uses of AnthropicCacheTtl in org.springframework.ai.anthropic
Subclasses with type arguments of type AnthropicCacheTtl in org.springframework.ai.anthropicModifier and TypeClassDescriptionenumAnthropic cache TTL (time-to-live) options for specifying how long cached prompts remain valid.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(Map<org.springframework.ai.chat.messages.MessageType, AnthropicCacheTtl> messageTypeTtl) voidAnthropicCacheOptions.setMessageTypeTtl(Map<org.springframework.ai.chat.messages.MessageType, AnthropicCacheTtl> messageTypeTtl) Constructor parameters in org.springframework.ai.anthropic with type arguments of type AnthropicCacheTtlModifierConstructorDescriptionCacheEligibilityResolver(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)