Package org.apache.pekko.persistence
Interface DurableStateStoreCapabilityFlags
- All Superinterfaces:
CapabilityFlags
- All Known Implementing Classes:
DurableStateStoreSpec,JavaDurableStateStoreSpec
-
Method Summary
Modifier and TypeMethodDescriptionWhentrueenables tests which check if the durable state store properly rejects adeleteObjectcall when the revision does not match the stored revision.Whentrueenables tests which check if the durable state store properly serializes and deserializes values via the configured Pekko serializer infrastructure.Whentrueenables tests which check the deprecated single-argumentdeleteObject(persistenceId)overload, which deletes regardless of the current revision.Whentrueenables tests which check if the durable state store properly rejects anupsertObjectcall when the revision is stale (does not match the expected next revision).
-
Method Details
-
supportsDeleteWithRevisionCheck
CapabilityFlag supportsDeleteWithRevisionCheck()Whentrueenables tests which check if the durable state store properly rejects adeleteObjectcall when the revision does not match the stored revision. -
supportsSerialization
CapabilityFlag supportsSerialization()Whentrueenables tests which check if the durable state store properly serializes and deserializes values via the configured Pekko serializer infrastructure. -
supportsSoftDelete
CapabilityFlag supportsSoftDelete()Whentrueenables tests which check the deprecated single-argumentdeleteObject(persistenceId)overload, which deletes regardless of the current revision. -
supportsUpsertWithRevisionCheck
CapabilityFlag supportsUpsertWithRevisionCheck()Whentrueenables tests which check if the durable state store properly rejects anupsertObjectcall when the revision is stale (does not match the expected next revision). This is the optimistic concurrency check on writes.
-