Interface PublishedEvent


  • public interface PublishedEvent
    When using event publishing the events published to the system event stream will be in this form.

    Not for user extension

    • Method Detail

      • event

        java.lang.Object event()
        User event
      • getReplicatedMetaData

        java.util.Optional<ReplicatedPublishedEventMetaData> getReplicatedMetaData()
        Java API: When emitted from an Replicated Event Sourcing actor this will contain the replica id
      • replicatedMetaData

        scala.Option<ReplicatedPublishedEventMetaData> replicatedMetaData()
        Scala API: When emitted from an Replicated Event Sourcing actor this will contain the replica id
      • sequenceNumber

        long sequenceNumber()
      • tags

        scala.collection.immutable.Set<java.lang.String> tags()
      • timestamp

        long timestamp()
      • withoutTags

        PublishedEvent withoutTags()
        If the published event is tagged, return a new published event with the payload unwrapped and the tags dropped, if it is not tagged return the published event as is.