CacheSnapshotStoreAutoConfiguration

Registers a CacheBackedAgentProcessSnapshotStore when an AgentCacheProvider is present, so declaring a cache backend is enough to make agent processes durable.

The platform's agentProcessRepository bean discovers the resulting AgentProcessSnapshotStore and decorates the runtime repository with it. No ordering against the platform auto-configuration is needed: that bean resolves the store lazily, after every bean definition is registered.

An application-defined AgentProcessSnapshotStore always takes precedence.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun cacheBackedAgentProcessSnapshotStore(agentCacheProvider: AgentCacheProvider, properties: AgentCacheProperties): AgentProcessSnapshotStore