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

public class Recovering$ extends Object
INTERNAL API

Second (of three) behavior of a DurableStateBehavior.

In this behavior the recovery process is initiated. We try to obtain the state from the configured DurableStateStore, and if it exists, we use it instead of the initial emptyState.

See next behavior Running. See previous behavior RequestingRecoveryPermit.

  • Field Details

    • MODULE$

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

    • Recovering$

      public Recovering$()
  • Method Details

    • apply

      public <C, S> Behavior<InternalProtocol> apply(org.apache.pekko.persistence.typed.state.internal.BehaviorSetup<C,S> setup, boolean receivedPoisonPill)