AgentCacheProperties

Configuration properties for cache-backed agent process persistence.

Cache-backed persistence activates when an com.embabel.agent.cache.AgentCacheProvider bean is present. Declaring one is an explicit statement of intent. A Spring CacheManager alone is not: applications commonly have one for unrelated caching, and silently treating it as durable agent state would be a trap. Set provider to {@value #SPRING_CACHE} to opt in.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
val PREFIX: String = "embabel.agent.platform.cache"
Link copied to clipboard
open var provider: String
Cache provider to build automatically.
Link copied to clipboard
val SPRING_CACHE: String = "spring-cache"
Value of provider that builds a provider over the application's Spring CacheManager.

Functions

Link copied to clipboard
open fun setRequireAtomicCompareAndSet(requireAtomicCompareAndSet: Boolean)