Class TimestampOffsets$
java.lang.Object
org.apache.pekko.persistence.testkit.query.internal.TimestampOffsets$
INTERNAL API
The test kit journal assigns a strictly increasing timestamp to each atomic write,
and an atomic write only contains events of a single persistence id, so
(timestamp, persistenceId, sequenceNr) identifies the position of an event.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final TimestampOffsets$Static reference to the singleton instance of this Scala object. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionscala.Function1<PersistentRepr,Object> Returns a predicate that selects the events after the given offset, which must be aTimestampOffsetorpekko.persistence.query.NoOffset.
-
Field Details
-
MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Constructor Details
-
TimestampOffsets$
public TimestampOffsets$()
-
-
Method Details
-
offsetFor
-
isAfter
Returns a predicate that selects the events after the given offset, which must be aTimestampOffsetorpekko.persistence.query.NoOffset. The offset is exclusive.
-