Class MongoTrackingToken
java.lang.Object
org.axonframework.mongo.eventsourcing.eventstore.MongoTrackingToken
- All Implemented Interfaces:
Serializable
Deprecated.
Class copied from Axon 3 to be able to restore Axon 3 Tokens from Axon 4 applications.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Get the timestamp of the last event tracked by this token.Deprecated.Gets tracked events.
-
Constructor Details
-
MongoTrackingToken
public MongoTrackingToken()Deprecated.
-
-
Method Details
-
getTimestamp
Deprecated.Get the timestamp of the last event tracked by this token.- Returns:
- the timestamp of the event with this token
-
getTrackedEvents
Deprecated.Gets tracked events. The key is the event identifier, and the value is the timestamp.- Returns:
- tracked events
-
MongoTrackingTokeninstead.