o

akka.persistence.typed.scaladsl

PersistentFSMMigration

object PersistentFSMMigration

Helper functions for migration from PersistentFSM to Persistence Typed

Source
PersistentFSMMigration.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PersistentFSMMigration
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. 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