Class MongoTrackingToken

java.lang.Object
org.axonframework.mongo.eventsourcing.eventstore.MongoTrackingToken
All Implemented Interfaces:
Serializable

@Deprecated public class MongoTrackingToken extends Object implements Serializable
Deprecated.
this class is available for backward compatibility with instances that were serialized with Axon 3. Use MongoTrackingToken instead.
Class copied from Axon 3 to be able to restore Axon 3 Tokens from Axon 4 applications.
See Also:
  • Constructor Details

    • MongoTrackingToken

      public MongoTrackingToken()
      Deprecated.
  • Method Details

    • getTimestamp

      public Instant getTimestamp()
      Deprecated.
      Get the timestamp of the last event tracked by this token.
      Returns:
      the timestamp of the event with this token
    • getTrackedEvents

      public Map<String,Long> getTrackedEvents()
      Deprecated.
      Gets tracked events. The key is the event identifier, and the value is the timestamp.
      Returns:
      tracked events