Interface DurableStateUpdateWithChangeEventStore<A>

    • Method Detail

      • deleteObject

        scala.concurrent.Future<Done> deleteObject​(java.lang.String persistenceId,
                                                   long revision,
                                                   java.lang.Object changeEvent)
      • upsertObject

        scala.concurrent.Future<Done> upsertObject​(java.lang.String persistenceId,
                                                   long revision,
                                                   A value,
                                                   java.lang.String tag,
                                                   java.lang.Object changeEvent)
        The changeEvent is written to the event journal. Same persistenceId is used in the journal and the revision is used as sequenceNr.

        Parameters:
        revision - sequence number for optimistic locking. starts at 1.