Interface DurableStateUpdateWithChangeEventStore<A>

    • Method Detail

      • deleteObject

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

        java.util.concurrent.CompletionStage<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.