Package | Description |
---|---|
org.axonframework.mongo.eventsourcing.eventstore |
Modifier and Type | Method and Description |
---|---|
MongoTrackingToken |
MongoTrackingToken.advanceTo(Instant timestamp,
String eventIdentifier,
Duration lookBackTime)
Returns a new
MongoTrackingToken instance based on this token but which has advanced to the event with
given timestamp , eventIdentifier and sequenceNumber . |
static MongoTrackingToken |
MongoTrackingToken.of(Instant timestamp,
String eventIdentifier)
Returns a new instance of a
MongoTrackingToken with given timestamp , eventIdentifier and
sequenceNumber for the initial event in a stream. |
Copyright © 2010–2017. All rights reserved.