LifecycleCheckpointPolicy

Checkpoints recovery and lifecycle boundary states.

Waiting snapshots allow another runtime to resume work after local process loss. Finished snapshots then advance the durable state after the resumed process completes, fails, or is externally terminated.

Kept as a named object rather than a lambda so it can be referenced by name in configuration and documentation.

Functions

Link copied to clipboard
open override fun shouldStoreSnapshot(agentProcess: AgentProcess): Boolean

Return true when the current process state should be serialized and stored.