Interface DurableStateStoreInteractions<C,​S>


  • public interface DurableStateStoreInteractions<C,​S>
    INTERNAL API
    • Method Detail

      • internalDelete

        org.apache.pekko.persistence.typed.state.internal.Running.RunningState<S,​C> internalDelete​(ActorContext<InternalProtocol> ctx,
                                                                                                         java.lang.Object cmd,
                                                                                                         org.apache.pekko.persistence.typed.state.internal.Running.RunningState<S,​C> state)
      • internalUpsert

        org.apache.pekko.persistence.typed.state.internal.Running.RunningState<S,​C> internalUpsert​(ActorContext<InternalProtocol> ctx,
                                                                                                         java.lang.Object cmd,
                                                                                                         org.apache.pekko.persistence.typed.state.internal.Running.RunningState<S,​C> state,
                                                                                                         java.lang.Object value)
      • onDeleteInitiated

        void onDeleteInitiated​(ActorContext<?> ctx,
                               java.lang.Object cmd)
      • onWriteInitiated

        void onWriteInitiated​(ActorContext<?> ctx,
                              java.lang.Object cmd)
      • requestRecoveryPermit

        void requestRecoveryPermit()
      • setup

        org.apache.pekko.persistence.typed.state.internal.BehaviorSetup<C,​S> setup()
      • tryReturnRecoveryPermit

        void tryReturnRecoveryPermit​(java.lang.String reason)
        Mutates setup, by setting the `holdingRecoveryPermit` to false