Agent Cache Provider Auto Configuration
Builds an AgentCacheProvider over the application's Spring CacheManager when explicitly requested with embabel.agent.platform.cache.provider=spring-cache.
Ordered after Spring Boot's cache auto-configuration so a CacheManager it creates is visible. Referenced by name so this module does not depend on spring-boot-cache.
Functions
Link copied to clipboard
open fun springCacheAgentCacheProvider(cacheManager: ObjectProvider<CacheManager>): AgentCacheProvider
Fails rather than skipping when no
CacheManager exists: the provider was requested explicitly, and a request that silently does nothing would leave agent processes non-durable with no indication why.