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
- Alphabetic
- By Inheritance
Inherited
- EventEnvelope
- Serializable
- Serializable
- Product4
- Product
- Equals
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
Value Members
-
def
_1: Offset
- Definition Classes
- EventEnvelope → Product4
-
def
_2: String
- Definition Classes
- EventEnvelope → Product4
-
def
_3: Long
- Definition Classes
- EventEnvelope → Product4
-
def
_4: Any
- Definition Classes
- EventEnvelope → Product4
-
def
canEqual(that: Any): Boolean
- Definition Classes
- EventEnvelope → Equals
- def copy(offset: Offset = this.offset, persistenceId: String = this.persistenceId, sequenceNr: Long = this.sequenceNr, event: Any = this.event): EventEnvelope
-
def
equals(obj: Any): Boolean
- Definition Classes
- EventEnvelope → Equals → AnyRef → Any
- val event: Any
-
def
hashCode(): Int
- Definition Classes
- EventEnvelope → AnyRef → Any
- val offset: Offset
- val persistenceId: String
-
def
productArity: Int
- Definition Classes
- Product4 → Product
-
def
productElement(n: Int): Any
- Definition Classes
- Product4 → Product
- Annotations
- @throws( ... )
-
def
productIterator: Iterator[Any]
- Definition Classes
- Product
-
def
productPrefix: String
- Definition Classes
- EventEnvelope → Product
- val sequenceNr: Long
- val timestamp: Long
-
def
toString(): String
- Definition Classes
- EventEnvelope → AnyRef → Any