package scaladsl
Type Members
- final class DurableStateCleanup extends AnyRef
Scala API: Tool for deleting durable state for a given list of
persistenceIdswithout usingDurableStateBehavioractors.Scala API: Tool for deleting durable state for a given list of
persistenceIdswithout usingDurableStateBehavioractors. It's important that the actors with corresponding persistenceId are not running at the same time as using the tool.If
resetRevisionNumberistruethen the creating entity with the samepersistenceIdwill start from 0. Otherwise it will continue from the latest highest used revision number.WARNING: reusing the same
persistenceIdafter resetting the revision number should be avoided, since it might be confusing to reuse the same revision numbers for new state changes.When a list of
persistenceIdsare given they are deleted sequentially in the order of the list. It's possible to parallelize the deletes by running several cleanup operations at the same time operating on different sets ofpersistenceIds.- Annotations
- @ApiMayChange()
- final class EventSourcedCleanup extends AnyRef
Scala API: Tool for deleting all events and/or snapshots for a given list of
persistenceIdswithout using persistent actors.Scala API: Tool for deleting all events and/or snapshots for a given list of
persistenceIdswithout using persistent actors. It's important that the actors with correspondingpersistenceIdare not running at the same time as using the tool.If
resetSequenceNumberistruethen the creating entity with the samepersistenceIdwill start from 0. Otherwise it will continue from the latest highest used sequence number.WARNING: reusing the same
persistenceIdafter resetting the sequence number should be avoided, since it might be confusing to reuse the same sequence number for new events.When a list of
persistenceIdsare given they are deleted sequentially in the order of the list. It's possible to parallelize the deletes by running several cleanup operations at the same time operating on different sets ofpersistenceIds.- Annotations
- @ApiMayChange()