save

open override fun save(snapshot: SerializedAgentProcessSnapshot, expectedVersion: Long?): StoredSnapshotMetadata

Save a new or updated snapshot.

Throws

if the expected version does not match the stored version.