object PersistentFSMMigration
Ordering
- Alphabetic
- By Inheritance
Inherited
- PersistentFSMMigration
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- def snapshotAdapter[State](adapt: (String, , [FiniteDuration]) => State): SnapshotAdapter[State]
Create a snapshot adapter that will adapt snapshots created by a PersistentFSM into the correct State type of a EventSourcedBehavior
Create a snapshot adapter that will adapt snapshots created by a PersistentFSM into the correct State type of a EventSourcedBehavior
- State
State type of the EventSourcedBehavior
- adapt
Takes in the state identifier, snapshot persisted by the PersistentFSM and the state timeout and returns the
State
that should be given to the the EventSourcedBehavior- returns
A to be used with a EventSourcedBehavior
Helper functions for migration from PersistentFSM to Persistence Typed