java.lang.Object
org.apache.pekko.persistence.typed.state.internal.Running$

public class Running$ extends Object
INTERNAL API

Conceptually third (of three) -- also known as 'final' or 'ultimate' -- form of DurableStateBehavior.

In this phase recovery has completed successfully and we continue handling incoming commands, as well as persisting new state as dictated by the user handlers.

This behavior operates in two phases (also behaviors): - HandlingCommands - where the command handler is invoked for incoming commands - PersistingState - where incoming commands are stashed until persistence completes

This is implemented as such to avoid creating many Running instances, which perform the Persistence extension lookup on creation and similar things (config lookup)

See previous Recovering.

  • Field Details

    • MODULE$

      public static final Running$ MODULE$
      Static reference to the singleton instance of this Scala object.
  • Constructor Details

    • Running$

      public Running$()