Packages

final class EventEnvelope extends Product4[Offset, String, Long, Any] with Serializable

Event wrapper adding meta data for the events in the result stream of akka.persistence.query.scaladsl.EventsByTagQuery query, or similar queries.

The timestamp is the time the event was stored, in milliseconds since midnight, January 1, 1970 UTC (same as System.currentTimeMillis).

Source
EventEnvelope.scala
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. EventEnvelope
  2. Serializable
  3. Serializable
  4. Product4
  5. Product
  6. Equals
  7. AnyRef
  8. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new EventEnvelope(offset: Offset, persistenceId: String, sequenceNr: Long, event: Any)
  2. new EventEnvelope(offset: Offset, persistenceId: String, sequenceNr: Long, event: Any, timestamp: Long)

Value Members

  1. def _1: Offset
    Definition Classes
    EventEnvelope → Product4
  2. def _2: String
    Definition Classes
    EventEnvelope → Product4
  3. def _3: Long
    Definition Classes
    EventEnvelope → Product4
  4. def _4: Any
    Definition Classes
    EventEnvelope → Product4
  5. def canEqual(that: Any): Boolean
    Definition Classes
    EventEnvelope → Equals
  6. def copy(offset: Offset = this.offset, persistenceId: String = this.persistenceId, sequenceNr: Long = this.sequenceNr, event: Any = this.event): EventEnvelope
  7. def equals(obj: Any): Boolean
    Definition Classes
    EventEnvelope → Equals → AnyRef → Any
  8. val event: Any
  9. def hashCode(): Int
    Definition Classes
    EventEnvelope → AnyRef → Any
  10. val offset: Offset
  11. val persistenceId: String
  12. def productArity: Int
    Definition Classes
    Product4 → Product
  13. def productElement(n: Int): Any
    Definition Classes
    Product4 → Product
    Annotations
    @throws( ... )
  14. def productIterator: Iterator[Any]
    Definition Classes
    Product
  15. def productPrefix: String
    Definition Classes
    EventEnvelope → Product
  16. val sequenceNr: Long
  17. val timestamp: Long
  18. def toString(): String
    Definition Classes
    EventEnvelope → AnyRef → Any