Class EventEnvelope

  • All Implemented Interfaces:
    java.io.Serializable, scala.Equals, scala.Product, scala.Serializable

    public final class EventEnvelope
    extends java.lang.Object
    implements scala.Product, scala.Serializable
    Event wrapper adding meta data for the events in the result stream of EventsByTagQuery query, or similar queries.
    See Also:
    Serialized Form
    • Constructor Detail

      • EventEnvelope

        public EventEnvelope​(Offset offset,
                             java.lang.String persistenceId,
                             long sequenceNr,
                             java.lang.Object event)
    • Method Detail

      • apply

        public static EventEnvelope apply​(Offset offset,
                                          java.lang.String persistenceId,
                                          long sequenceNr,
                                          java.lang.Object event)
      • unapply

        public static scala.Option<scala.Tuple4<Offset,​java.lang.String,​java.lang.Object,​java.lang.Object>> unapply​(EventEnvelope x$0)
      • offset

        public Offset offset()
      • persistenceId

        public java.lang.String persistenceId()
      • sequenceNr

        public long sequenceNr()
      • event

        public java.lang.Object event()
      • copy

        public EventEnvelope copy​(Offset offset,
                                  java.lang.String persistenceId,
                                  long sequenceNr,
                                  java.lang.Object event)
      • copy$default$1

        public Offset copy$default$1()
      • copy$default$2

        public java.lang.String copy$default$2()
      • copy$default$3

        public long copy$default$3()
      • copy$default$4

        public java.lang.Object copy$default$4()
      • 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
      • hashCode

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

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

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