Class ReplicatedEvent<E>

  • All Implemented Interfaces:, scala.Equals, scala.Product

    public final class ReplicatedEvent<E>
    extends java.lang.Object
    implements scala.Product,
    An event replicated from a different replica.

    The version is for when it was persisted at the other replica. At the current replica it will be merged with the current local version.

    See Also:
    Serialized Form
    • Constructor Detail

      • ReplicatedEvent

        public ReplicatedEvent​(E event,
                               ReplicaId originReplica,
                               long originSequenceNr,
                               VersionVector originVersion)
    • Method Detail

      • event

        public E event()
      • originReplica

        public ReplicaId originReplica()
      • originSequenceNr

        public long originSequenceNr()
      • copy$default$1

        public <E> E copy$default$1()
      • copy$default$2

        public <E> ReplicaId copy$default$2()
      • copy$default$3

        public <E> long copy$default$3()
      • productPrefix

        public java.lang.String productPrefix()
        Specified by:
        productPrefix in interface scala.Product
      • productArity

        public int productArity()
        Specified by:
        productArity in interface scala.Product
      • productElement

        public java.lang.Object productElement​(int x$1)
        Specified by:
        productElement in interface scala.Product
      • productIterator

        public scala.collection.Iterator<java.lang.Object> productIterator()
        Specified by:
        productIterator in interface scala.Product
      • canEqual

        public boolean canEqual​(java.lang.Object x$1)
        Specified by:
        canEqual in interface scala.Equals
      • productElementName

        public java.lang.String productElementName​(int x$1)
        Specified by:
        productElementName in interface scala.Product
      • hashCode

        public int hashCode()
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object x$1)
        Specified by:
        equals in interface scala.Equals
        equals in class java.lang.Object