Class ReplicatedEventMetadata$

  • All Implemented Interfaces:
    java.io.Serializable

    public class ReplicatedEventMetadata$
    extends java.lang.Object
    implements java.io.Serializable
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static ReplicatedEventMetadata$ MODULE$
      Static reference to the singleton instance of this Scala object.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      akka.persistence.typed.internal.ReplicatedEventMetadata apply​(ReplicaId originReplica, long originSequenceNr, akka.persistence.typed.internal.VersionVector version, boolean concurrent)  
      java.lang.Object instanceForJournalTest()
      For a journal supporting Replicated Event Sourcing needing to add test coverage, use this instance as metadata and defer to the built in serializer for serialization format
      scala.Option<scala.Tuple4<ReplicaId,​java.lang.Object,​akka.persistence.typed.internal.VersionVector,​java.lang.Object>> unapply​(akka.persistence.typed.internal.ReplicatedEventMetadata x$0)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • MODULE$

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

      • ReplicatedEventMetadata$

        public ReplicatedEventMetadata$()
    • Method Detail

      • instanceForJournalTest

        public java.lang.Object instanceForJournalTest()
        For a journal supporting Replicated Event Sourcing needing to add test coverage, use this instance as metadata and defer to the built in serializer for serialization format
      • apply

        public akka.persistence.typed.internal.ReplicatedEventMetadata apply​(ReplicaId originReplica,
                                                                             long originSequenceNr,
                                                                             akka.persistence.typed.internal.VersionVector version,
                                                                             boolean concurrent)
        Parameters:
        originReplica - Where the event originally was created
        originSequenceNr - The original sequenceNr in the origin DC
        version - The version with which the event was persisted at the different DC. The same event will have different version vectors at each location as they are received at different times
      • unapply

        public scala.Option<scala.Tuple4<ReplicaId,​java.lang.Object,​akka.persistence.typed.internal.VersionVector,​java.lang.Object>> unapply​(akka.persistence.typed.internal.ReplicatedEventMetadata x$0)