Packages

final class TimestampOffset extends Offset

Timestamp based offset. Since there can be several events for the same timestamp it keeps track of what sequence nrs for every persistence id that have been seen at this specific timestamp.

The offset is exclusive, i.e. the event with the exact same sequence number will not be included in the returned stream. This means that you can use the offset that is returned in EventEnvelope as the offset parameter in a subsequent query.

API May Change

Source
Offset.scala
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TimestampOffset
  2. Offset
  3. AnyRef
  4. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. def equals(obj: Any): Boolean
    Definition Classes
    TimestampOffset → AnyRef → Any
  2. def getSeen(): Map[String, Long]

    Java API

  3. def hashCode(): Int
    Definition Classes
    TimestampOffset → AnyRef → Any
  4. val readTimestamp: Instant
  5. val seen: Map[String, Long]
  6. val timestamp: Instant
  7. def toString(): String
    Definition Classes
    TimestampOffset → AnyRef → Any