Uses of Interface
org.axonframework.eventhandling.TrackingToken
Packages that use TrackingToken
Package
Description
Classes related to event handling and dispatching, such as
Event Listeners and the Event Bus.Classes related to event sourcing.
Definitions and implementations of the Event store, the mechanism that can load event streams and append events to
them.
JDBC Implementation of the EventStore.
JPA Implementation of the EventStore.
Classes related to message processing in Axon Framework.
-
Uses of TrackingToken in org.axonframework.axonserver.connector.event.axon
Methods in org.axonframework.axonserver.connector.event.axon with parameters of type TrackingToken -
Uses of TrackingToken in org.axonframework.eventhandling
Subinterfaces of TrackingToken in org.axonframework.eventhandlingModifier and TypeInterfaceDescriptioninterfaceInterface marking a token that wraps another token.Classes in org.axonframework.eventhandling that implement TrackingTokenModifier and TypeClassDescriptionclassImplementation of aTrackingTokenthat uses the global insertion sequence number of the event to determine tracking order and additionally stores a set of possible gaps that have been detected while tracking the event store.classTracking token based on the global sequence number of an event.classSpecial Wrapped Token implementation that keeps track of two separate tokens, of which the streams have been merged into a single one.classATrackingTokenimplementation combining severalTrackingTokensinto one.classToken keeping track of the position before a reset was triggered.Methods in org.axonframework.eventhandling with type parameters of type TrackingTokenModifier and TypeMethodDescription<R extends TrackingToken>
Optional<R> <R extends TrackingToken>
Optional<R> <R extends TrackingToken>
Optional<R> Retrieve a token of giventokenTypeif it is wrapped by this token.static <R extends TrackingToken>
Optional<R> WrappedToken.unwrap(TrackingToken token, Class<R> tokenType) Unwrap the giventokenuntil a token of giventokenTypeis exposed.Methods in org.axonframework.eventhandling that return TrackingTokenModifier and TypeMethodDescriptionstatic TrackingTokenWrappedToken.advance(TrackingToken base, TrackingToken target) MergedTrackingToken.advancedTo(TrackingToken newToken) ReplayToken.advancedTo(TrackingToken newToken) WrappedToken.advancedTo(TrackingToken newToken) Advance this token to the givennewToken.static TrackingTokenReplayToken.createReplayToken(TrackingToken tokenAtReset) Creates a new TrackingToken that represents the tail of the stream.static TrackingTokenReplayToken.createReplayToken(TrackingToken tokenAtReset, TrackingToken startPosition) Creates a new TrackingToken that represents the givenstartPositionof a stream.static TrackingTokenReplayToken.createReplayToken(TrackingToken tokenAtReset, TrackingToken startPosition, Object resetContext) Creates a new TrackingToken that represents the givenstartPositionof a stream.ReplayToken.getCurrentToken()Gets the current token.TrackerStatus.getInternalTrackingToken()Return theTrackingTokenthisEventTrackerStatusportrays the status of.ReplayToken.getTokenAtReset()Gets the token representing the position at which the reset was triggered.MultiSourceTrackingToken.getTokenForStream(String streamName) Return the tracking token for an individual streamEventTrackerStatus.getTrackingToken()The tracking token of the last event that has been seen by this Segment.TrackerStatus.getTrackingToken()WrappedTrackerStatus.getTrackingToken()GlobalSequenceTrackingToken.lowerBound(TrackingToken other) MergedTrackingToken.lowerBound()MergedTrackingToken.lowerBound(TrackingToken other) MultiSourceTrackingToken.lowerBound(TrackingToken other) Compares this token tootherby comparing each member token with its counterpart in theothertoken.ReplayToken.lowerBound()ReplayToken.lowerBound(TrackingToken other) TrackingToken.lowerBound(TrackingToken other) Returns a token that represents the lower bound between this and theothertoken.WrappedToken.lowerBound()Returns the token representing the current position in the stream.MergedTrackingToken.lowerSegmentToken()Returns the token indicating the progress of the lower half (the half with the lower segmentId) of the merged segment represented by this tokenstatic TrackingTokenMergedTrackingToken.merged(TrackingToken lowerSegmentToken, TrackingToken upperSegmentToken) Create a merged token using the givenlowerSegmentTokenandupperSegmentToken.GenericTrackedDomainEventMessage.trackingToken()GenericTrackedEventMessage.trackingToken()TrackedDomainEventData.trackingToken()TrackedEventData.trackingToken()Returns theTrackingTokenof the serialized event.TrackedEventMessage.trackingToken()Returns theTrackingTokenof the event message.static TrackingTokenWrappedToken.unwrapLowerBound(TrackingToken token) Extracts a raw token describing the current processing position of the giventoken.static TrackingTokenWrappedToken.unwrapUpperBound(TrackingToken token) Extracts a raw token describing the current processing position of the giventoken.GapAwareTrackingToken.upperBound(TrackingToken otherToken) GlobalSequenceTrackingToken.upperBound(TrackingToken other) MergedTrackingToken.upperBound()MergedTrackingToken.upperBound(TrackingToken other) MultiSourceTrackingToken.upperBound(TrackingToken other) Compares this token tootherby comparing each member token with its counterpart in theothertoken.ReplayToken.upperBound()ReplayToken.upperBound(TrackingToken other) TrackingToken.upperBound(TrackingToken other) Returns the token that represents the furthest possible position in a stream that either this token or the givenotherrepresents.WrappedToken.upperBound()Returns the token representing the furthest position in the stream described by this token.MergedTrackingToken.upperSegmentToken()Returns the token indicating the progress of the upper half (the half with the higher segmentId) of the merged segment represented by this tokenMethods in org.axonframework.eventhandling that return types with arguments of type TrackingTokenModifier and TypeMethodDescriptionTrackingEventProcessorConfiguration.getInitialTrackingToken()Return the builder function of the initialTrackingToken.MultiSourceTrackingToken.getTrackingTokens()Returns the map containing the constituent tokens.Methods in org.axonframework.eventhandling with parameters of type TrackingTokenModifier and TypeMethodDescriptionstatic TrackingTokenWrappedToken.advance(TrackingToken base, TrackingToken target) MergedTrackingToken.advancedTo(TrackingToken newToken) MultiSourceTrackingToken.advancedTo(String streamName, TrackingToken newTokenForStream) Advances a single token within the tokenMapReplayToken.advancedTo(TrackingToken newToken) TrackerStatus.advancedTo(TrackingToken trackingToken) WrappedToken.advancedTo(TrackingToken newToken) Advance this token to the givennewToken.static <T> TrackedEventMessage<T> EventUtils.asTrackedEventMessage(EventMessage<T> eventMessage, TrackingToken trackingToken) booleanGapAwareTrackingToken.covers(TrackingToken other) booleanGlobalSequenceTrackingToken.covers(TrackingToken other) booleanMergedTrackingToken.covers(TrackingToken other) booleanMultiSourceTrackingToken.covers(TrackingToken other) Compares this token tootherchecking each member token with its counterpart to see if they are covered in theothertoken.booleanReplayToken.covers(TrackingToken other) booleanTrackingToken.covers(TrackingToken other) Indicates whether this token covers theothertoken completely.static TrackingTokenReplayToken.createReplayToken(TrackingToken tokenAtReset) Creates a new TrackingToken that represents the tail of the stream.static TrackingTokenReplayToken.createReplayToken(TrackingToken tokenAtReset, TrackingToken startPosition) Creates a new TrackingToken that represents the givenstartPositionof a stream.static TrackingTokenReplayToken.createReplayToken(TrackingToken tokenAtReset, TrackingToken startPosition, Object resetContext) Creates a new TrackingToken that represents the givenstartPositionof a stream.static OptionalLongReplayToken.getTokenAtReset(TrackingToken trackingToken) Return the relative position at which a reset was triggered for this Segment.static booleanMergedTrackingToken.isMergeInProgress(TrackingToken trackingToken) Indicates whether the giventrackingTokenrepresents a token that is part of a merge.static booleanReplayToken.isReplay(TrackingToken trackingToken) Indicates whether the giventrackingTokenrepresents a position that is part of a replay.GapAwareTrackingToken.lowerBound(TrackingToken other) GlobalSequenceTrackingToken.lowerBound(TrackingToken other) MergedTrackingToken.lowerBound(TrackingToken other) MultiSourceTrackingToken.lowerBound(TrackingToken other) Compares this token tootherby comparing each member token with its counterpart in theothertoken.ReplayToken.lowerBound(TrackingToken other) TrackingToken.lowerBound(TrackingToken other) Returns a token that represents the lower bound between this and theothertoken.static TrackingTokenMergedTrackingToken.merged(TrackingToken lowerSegmentToken, TrackingToken upperSegmentToken) Create a merged token using the givenlowerSegmentTokenandupperSegmentToken.static OptionalLongMergedTrackingToken.mergePosition(TrackingToken trackingToken) Return the estimated relative token position this Segment will have after a merge operation is complete.org.axonframework.eventhandling.MultiStreamableMessageSource.MultiSourceBlockingStreamMultiStreamableMessageSource.openStream(TrackingToken trackingToken) Opens a stream for each event source at the specified token position.TrackingEventProcessor.processingSegments(TrackingToken token, Segment segment) Indicates whether theeventMessageidentified with giventokenshould be processed as part of the givensegment.static <T> Optional<T> ReplayToken.replayContext(TrackingToken trackingToken, Class<T> contextClass) Extracts the context from amessageof the matchingcontextClass.default voidStreamingEventProcessor.resetTokens(TrackingToken startPosition) Resets tokens to the givenstartPosition.<R> voidStreamingEventProcessor.resetTokens(TrackingToken startPosition, R resetContext) Resets tokens to the givenstartPosition.voidTrackingEventProcessor.resetTokens(TrackingToken startPosition) <R> voidTrackingEventProcessor.resetTokens(TrackingToken startPosition, R resetContext) booleanGapAwareTrackingToken.samePositionAs(TrackingToken other) Indicates whetherthistoken is at the exact same spot in the event stream as theothertoken.booleanGlobalSequenceTrackingToken.samePositionAs(TrackingToken other) booleanMergedTrackingToken.samePositionAs(TrackingToken other) booleanMultiSourceTrackingToken.samePositionAs(TrackingToken other) booleanReplayToken.samePositionAs(TrackingToken other) default booleanTrackingToken.samePositionAs(TrackingToken other) Indicates whetherthistoken is at the exact same spot in the event stream as theothertoken.static TrackerStatus[]TrackerStatus.split(Segment segment, TrackingToken trackingToken) Split the givensegmentandtrackingTokenin two.static <R extends TrackingToken>
Optional<R> WrappedToken.unwrap(TrackingToken token, Class<R> tokenType) Unwrap the giventokenuntil a token of giventokenTypeis exposed.static TrackingTokenWrappedToken.unwrapLowerBound(TrackingToken token) Extracts a raw token describing the current processing position of the giventoken.static TrackingTokenWrappedToken.unwrapUpperBound(TrackingToken token) Extracts a raw token describing the current processing position of the giventoken.GapAwareTrackingToken.upperBound(TrackingToken otherToken) GlobalSequenceTrackingToken.upperBound(TrackingToken other) MergedTrackingToken.upperBound(TrackingToken other) MultiSourceTrackingToken.upperBound(TrackingToken other) Compares this token tootherby comparing each member token with its counterpart in theothertoken.ReplayToken.upperBound(TrackingToken other) TrackingToken.upperBound(TrackingToken other) Returns the token that represents the furthest possible position in a stream that either this token or the givenotherrepresents.GenericTrackedDomainEventMessage.withTrackingToken(TrackingToken trackingToken) GenericTrackedEventMessage.withTrackingToken(TrackingToken trackingToken) TrackedEventMessage.withTrackingToken(TrackingToken trackingToken) Creates a copy of this message with the giventrackingTokento replace the one in this message.Method parameters in org.axonframework.eventhandling with type arguments of type TrackingTokenModifier and TypeMethodDescriptionTrackingEventProcessorConfiguration.andInitialTrackingToken(Function<StreamableMessageSource<TrackedEventMessage<?>>, TrackingToken> initialTrackingTokenBuilder) Sets the builder to use to create the initialTrackingToken.voidStreamingEventProcessor.resetTokens(Function<StreamableMessageSource<TrackedEventMessage<?>>, TrackingToken> initialTrackingTokenSupplier) Reset tokens to the position as return by the giveninitialTrackingTokenSupplier.<R> voidStreamingEventProcessor.resetTokens(Function<StreamableMessageSource<TrackedEventMessage<?>>, TrackingToken> initialTrackingTokenSupplier, R resetContext) Reset tokens to the position as return by the giveninitialTrackingTokenSupplier.voidTrackingEventProcessor.resetTokens(Function<StreamableMessageSource<TrackedEventMessage<?>>, TrackingToken> initialTrackingTokenSupplier) <R> voidTrackingEventProcessor.resetTokens(Function<StreamableMessageSource<TrackedEventMessage<?>>, TrackingToken> initialTrackingTokenSupplier, R resetContext) Constructors in org.axonframework.eventhandling with parameters of type TrackingTokenModifierConstructorDescriptionprotectedGenericTrackedDomainEventMessage(TrackingToken trackingToken, String type, String aggregateIdentifier, long sequenceNumber, Message<T> delegate, Instant timestamp) Initialize a DomainEventMessage originating from an aggregate.GenericTrackedDomainEventMessage(TrackingToken trackingToken, String type, String aggregateIdentifier, long sequenceNumber, Message<T> delegate, Supplier<Instant> timestamp) Initialize a DomainEventMessage originating from an Aggregate using existing data.GenericTrackedDomainEventMessage(TrackingToken trackingToken, DomainEventMessage<T> delegate) Initialize a DomainEventMessage originating from an aggregate.GenericTrackedEventMessage(TrackingToken trackingToken, EventMessage<T> delegate) Creates a GenericTrackedEventMessage with giventrackingTokenand delegate event message.protectedGenericTrackedEventMessage(TrackingToken trackingToken, Message<T> delegate, Instant timestamp) Initializes aGenericTrackedEventMessagewith given message as delegate and giventimestamp.GenericTrackedEventMessage(TrackingToken trackingToken, Message<T> delegate, Supplier<Instant> timestamp) Creates a GenericTrackedEventMessage with giventrackingTokenand delegate event message.MergedTrackingToken(TrackingToken lowerSegmentToken, TrackingToken upperSegmentToken) Initialize a Merged Token, with thelowerSegmentTokenrepresenting the progress of the segment with the lower segmentId, andupperSegmentTokenrepresenting the progress of the segment with the higher segmentId.protectedMergedTrackingToken(TrackingToken lowerSegmentToken, TrackingToken upperSegmentToken, boolean lowerSegmentAdvanced, boolean upperSegmentAdvanced) Initialize a Merged Token, with thelowerSegmentTokenrepresenting the progress of the segment with the lower segmentId, andupperSegmentTokenrepresenting the progress of the segment with the higher segmentId, additionally indicating if either of these segments were advanced by the latest call toMergedTrackingToken.advancedTo(TrackingToken)ReplayToken(TrackingToken tokenAtReset) Deprecated.ReplayToken(TrackingToken tokenAtReset, TrackingToken newRedeliveryToken) Deprecated.Use theReplayToken.createReplayToken(TrackingToken, TrackingToken)method instead.TrackedDomainEventData(TrackingToken trackingToken, DomainEventData<T> domainEventEntry) Initialize the TrackingDomainEventData with giventrackingTokenanddomainEventEntry.TrackerStatus(Segment segment, boolean caughtUp, TrackingToken trackingToken, Throwable errorState) TrackerStatus(Segment segment, TrackingToken trackingToken) Constructor parameters in org.axonframework.eventhandling with type arguments of type TrackingTokenModifierConstructorDescriptionMultiSourceTrackingToken(Map<String, TrackingToken> trackingTokens) Construct a newMultiSourceTrackingTokenfrom a map of existing tokens. -
Uses of TrackingToken in org.axonframework.eventhandling.pooled
Methods in org.axonframework.eventhandling.pooled with parameters of type TrackingTokenModifier and TypeMethodDescriptionvoidPooledStreamingEventProcessor.resetTokens(TrackingToken startPosition) <R> voidPooledStreamingEventProcessor.resetTokens(TrackingToken startPosition, R resetContext) Method parameters in org.axonframework.eventhandling.pooled with type arguments of type TrackingTokenModifier and TypeMethodDescriptionPooledStreamingEventProcessor.Builder.initialToken(Function<StreamableMessageSource<TrackedEventMessage<?>>, TrackingToken> initialToken) Specifies theFunctionused to generate the initialTrackingTokens.voidPooledStreamingEventProcessor.resetTokens(Function<StreamableMessageSource<TrackedEventMessage<?>>, TrackingToken> initialTrackingTokenSupplier) <R> voidPooledStreamingEventProcessor.resetTokens(Function<StreamableMessageSource<TrackedEventMessage<?>>, TrackingToken> initialTrackingTokenSupplier, R resetContext) -
Uses of TrackingToken in org.axonframework.eventhandling.tokenstore
Classes in org.axonframework.eventhandling.tokenstore that implement TrackingTokenModifier and TypeClassDescriptionclassA special implementation of a Token that is used to store configuration specific to the underlying storage of eachTokenStoreinstance.Methods in org.axonframework.eventhandling.tokenstore that return TrackingTokenModifier and TypeMethodDescriptionTokenStore.fetchToken(String processorName, int segment) default TrackingTokenTokenStore.fetchToken(String processorName, Segment segment) AbstractTokenEntry.getToken(Serializer serializer) Returns the token, deserializing it with givenserializerConfigToken.lowerBound(TrackingToken other) ConfigToken.upperBound(TrackingToken other) Methods in org.axonframework.eventhandling.tokenstore with parameters of type TrackingTokenModifier and TypeMethodDescriptionbooleanConfigToken.covers(TrackingToken other) default voidTokenStore.initializeSegment(TrackingToken token, String processorName, int segment) Initializes a segment with givensegmentfor the processor with givenprocessorNameto contain the giventoken.default voidTokenStore.initializeTokenSegments(String processorName, int segmentCount, TrackingToken initialToken) Initializes the givensegmentCountnumber of segments for the givenprocessorNameto track its tokens.ConfigToken.lowerBound(TrackingToken other) booleanConfigToken.samePositionAs(TrackingToken other) voidTokenStore.storeToken(TrackingToken token, String processorName, int segment) Stores the giventokenin the store.abstract voidAbstractTokenEntry.updateToken(TrackingToken token, Serializer serializer) Update this entry with the giventoken, serializing it using givenserializer.protected final voidAbstractTokenEntry.updateToken(TrackingToken token, Serializer serializer, Class<T> contentType) Update the token data to the giventoken, using givenserializerto serialize it to the givencontentType.voidGenericTokenEntry.updateToken(TrackingToken token, Serializer serializer) ConfigToken.upperBound(TrackingToken other) Constructors in org.axonframework.eventhandling.tokenstore with parameters of type TrackingTokenModifierConstructorDescriptionprotectedAbstractTokenEntry(TrackingToken token, Serializer serializer, Class<T> contentType) Initializes a new token entry for giventoken,processandsegment.GenericTokenEntry(TrackingToken token, Serializer serializer, Class<T> contentType, String processorName, int segment) Initializes a new token entry for giventoken,processandsegment. -
Uses of TrackingToken in org.axonframework.eventhandling.tokenstore.inmemory
Methods in org.axonframework.eventhandling.tokenstore.inmemory that return TrackingTokenModifier and TypeMethodDescriptionInMemoryTokenStore.fetchToken(String processorName, int segment) Methods in org.axonframework.eventhandling.tokenstore.inmemory with parameters of type TrackingTokenModifier and TypeMethodDescriptionvoidInMemoryTokenStore.initializeSegment(TrackingToken token, String processorName, int segment) voidInMemoryTokenStore.initializeTokenSegments(String processorName, int segmentCount, TrackingToken initialToken) voidInMemoryTokenStore.storeToken(TrackingToken token, String processorName, int segment) -
Uses of TrackingToken in org.axonframework.eventhandling.tokenstore.jdbc
Methods in org.axonframework.eventhandling.tokenstore.jdbc that return TrackingTokenModifier and TypeMethodDescriptionprotected TrackingTokenJdbcTokenStore.claimToken(Connection connection, AbstractTokenEntry<?> entry) Tries to claim the given tokenentry.JdbcTokenStore.fetchToken(String processorName, int segment) JdbcTokenStore.fetchToken(String processorName, Segment segment) protected TrackingTokenJdbcTokenStore.insertTokenEntry(Connection connection, TrackingToken token, String processorName, int segment) Inserts a new token entry via the given updatableresultSet.protected TrackingTokenJdbcTokenStore.loadToken(Connection connection, ResultSet resultSet, String processorName, int segment) Tries loading an existing token owned by a processor with givenprocessorNameandsegment.protected TrackingTokenJdbcTokenStore.loadToken(Connection connection, ResultSet resultSet, String processorName, Segment segment) Tries loading an existing token owned by a processor with givenprocessorNameandsegment.Methods in org.axonframework.eventhandling.tokenstore.jdbc with parameters of type TrackingTokenModifier and TypeMethodDescriptionvoidJdbcTokenStore.initializeSegment(TrackingToken token, String processorName, int segment) voidJdbcTokenStore.initializeTokenSegments(String processorName, int segmentCount, TrackingToken initialToken) protected TrackingTokenJdbcTokenStore.insertTokenEntry(Connection connection, TrackingToken token, String processorName, int segment) Inserts a new token entry via the given updatableresultSet.voidJdbcTokenStore.storeToken(TrackingToken token, String processorName, int segment) protected PreparedStatementJdbcTokenStore.storeUpdate(Connection connection, TrackingToken token, String processorName, int segment) Returns aPreparedStatementwhich updates the giventokenfor the givenprocessorNameandsegmentcombination.protected voidJdbcTokenStore.updateToken(Connection connection, ResultSet resultSet, TrackingToken token, String processorName, int segment) If the givenresultSethas an entry, attempts to replace the token in the entry with the giventokenand claim ownership. -
Uses of TrackingToken in org.axonframework.eventhandling.tokenstore.jpa
Methods in org.axonframework.eventhandling.tokenstore.jpa that return TrackingTokenModifier and TypeMethodDescriptionJpaTokenStore.fetchToken(String processorName, int segment) JpaTokenStore.fetchToken(String processorName, Segment segment) TokenEntry.getToken(Serializer serializer) Returns the token, deserializing it with givenserializerMethods in org.axonframework.eventhandling.tokenstore.jpa with parameters of type TrackingTokenModifier and TypeMethodDescriptionvoidJpaTokenStore.initializeSegment(TrackingToken token, String processorName, int segment) voidJpaTokenStore.initializeTokenSegments(String processorName, int segmentCount, TrackingToken initialToken) voidJpaTokenStore.storeToken(TrackingToken token, String processorName, int segment) voidTokenEntry.updateToken(TrackingToken token, Serializer serializer) Updates a token, using the provided token and serializer to update the serialized token and token type.Constructors in org.axonframework.eventhandling.tokenstore.jpa with parameters of type TrackingTokenModifierConstructorDescriptionTokenEntry(String processorName, int segment, TrackingToken token, Serializer serializer) Initializes a new token entry for giventoken,processorNameandsegment. -
Uses of TrackingToken in org.axonframework.eventhandling.tokenstore.legacyjpa
Methods in org.axonframework.eventhandling.tokenstore.legacyjpa that return TrackingTokenModifier and TypeMethodDescriptionJpaTokenStore.fetchToken(String processorName, int segment) Deprecated.JpaTokenStore.fetchToken(String processorName, Segment segment) Deprecated.Methods in org.axonframework.eventhandling.tokenstore.legacyjpa with parameters of type TrackingTokenModifier and TypeMethodDescriptionvoidJpaTokenStore.initializeSegment(TrackingToken token, String processorName, int segment) Deprecated.voidJpaTokenStore.initializeTokenSegments(String processorName, int segmentCount, TrackingToken initialToken) Deprecated.voidJpaTokenStore.storeToken(TrackingToken token, String processorName, int segment) Deprecated. -
Uses of TrackingToken in org.axonframework.eventsourcing
Methods in org.axonframework.eventsourcing that return TrackingTokenModifier and TypeMethodDescriptionFilteringEventStorageEngine.createHeadToken()FilteringEventStorageEngine.createTailToken()FilteringEventStorageEngine.createTokenAt(Instant dateTime) Methods in org.axonframework.eventsourcing with parameters of type TrackingTokenModifier and TypeMethodDescriptionStream<? extends TrackedEventMessage<?>> FilteringEventStorageEngine.readEvents(TrackingToken trackingToken, boolean mayBlock) -
Uses of TrackingToken in org.axonframework.eventsourcing.eventstore
Classes in org.axonframework.eventsourcing.eventstore that implement TrackingTokenModifier and TypeClassDescriptionclassDeprecated.in favor of theGapAwareTrackingTokenclassDeprecated.in favor of theGlobalSequenceTrackingTokenMethods in org.axonframework.eventsourcing.eventstore that return TrackingTokenModifier and TypeMethodDescriptionAbstractEventStore.createHeadToken()default TrackingTokenEventStorageEngine.createHeadToken()Creates a token that is at the head of an event stream - that tracks all new events.SequenceEventStorageEngine.createHeadToken()AbstractEventStore.createTailToken()default TrackingTokenEventStorageEngine.createTailToken()Creates a token that is at the tail of an event stream - that tracks events from the beginning of time.SequenceEventStorageEngine.createTailToken()AbstractEventStore.createTokenAt(Instant dateTime) default TrackingTokenEventStorageEngine.createTokenAt(Instant dateTime) Creates a token that tracks all events after givendateTime.SequenceEventStorageEngine.createTokenAt(Instant dateTime) Methods in org.axonframework.eventsourcing.eventstore with parameters of type TrackingTokenModifier and TypeMethodDescriptionprotected abstract List<? extends TrackedEventData<?>> BatchingEventStorageEngine.fetchTrackedEvents(TrackingToken lastToken, int batchSize) Returns a batch of serialized event data entries in the event storage that have aTrackingTokengreater than the givenlastToken.EmbeddedEventStore.openStream(TrackingToken trackingToken) protected abstract Stream<? extends TrackedEventData<?>> AbstractEventStorageEngine.readEventData(TrackingToken trackingToken, boolean mayBlock) Returns a globalStreamcontaining all serialized event data entries in the event storage that have aTrackingTokengreater than the giventrackingToken.protected Stream<? extends TrackedEventData<?>> BatchingEventStorageEngine.readEventData(TrackingToken trackingToken, boolean mayBlock) Returns a globalStreamcontaining all serialized event data entries in the event storage that have aTrackingTokengreater than the giventrackingToken.Stream<? extends TrackedEventMessage<?>> AbstractEventStorageEngine.readEvents(TrackingToken trackingToken, boolean mayBlock) Stream<? extends TrackedEventMessage<?>> EventStorageEngine.readEvents(TrackingToken trackingToken, boolean mayBlock) Open an event stream containing all events stored since given tracking token.Stream<? extends TrackedEventMessage<?>> SequenceEventStorageEngine.readEvents(TrackingToken trackingToken, boolean mayBlock) -
Uses of TrackingToken in org.axonframework.eventsourcing.eventstore.inmemory
Methods in org.axonframework.eventsourcing.eventstore.inmemory that return TrackingTokenModifier and TypeMethodDescriptionInMemoryEventStorageEngine.createHeadToken()InMemoryEventStorageEngine.createTailToken()InMemoryEventStorageEngine.createTokenAt(Instant dateTime) Methods in org.axonframework.eventsourcing.eventstore.inmemory with parameters of type TrackingTokenModifier and TypeMethodDescriptionStream<? extends TrackedEventMessage<?>> InMemoryEventStorageEngine.readEvents(TrackingToken trackingToken, boolean mayBlock) Open an event stream containing all events stored since given tracking token. -
Uses of TrackingToken in org.axonframework.eventsourcing.eventstore.jdbc
Methods in org.axonframework.eventsourcing.eventstore.jdbc that return TrackingTokenModifier and TypeMethodDescriptionJdbcEventStorageEngine.createHeadToken()JdbcEventStorageEngine.createTailToken()JdbcEventStorageEngine.createTokenAt(Instant dateTime) Methods in org.axonframework.eventsourcing.eventstore.jdbc with parameters of type TrackingTokenModifier and TypeMethodDescriptionprotected List<? extends TrackedEventData<?>> JdbcEventStorageEngine.fetchTrackedEvents(TrackingToken lastToken, int batchSize) protected PreparedStatementJdbcEventStorageEngine.readEventData(Connection connection, TrackingToken lastToken, int batchSize) Creates a statement to read tracked event entries stored since given tracking token. -
Uses of TrackingToken in org.axonframework.eventsourcing.eventstore.jpa
Methods in org.axonframework.eventsourcing.eventstore.jpa that return TrackingTokenModifier and TypeMethodDescriptionJpaEventStorageEngine.createHeadToken()JpaEventStorageEngine.createTailToken()JpaEventStorageEngine.createTokenAt(Instant dateTime) Methods in org.axonframework.eventsourcing.eventstore.jpa with parameters of type TrackingTokenModifier and TypeMethodDescriptionprotected List<? extends TrackedEventData<?>> JpaEventStorageEngine.fetchTrackedEvents(TrackingToken lastToken, int batchSize) -
Uses of TrackingToken in org.axonframework.eventsourcing.eventstore.legacyjpa
Methods in org.axonframework.eventsourcing.eventstore.legacyjpa that return TrackingTokenModifier and TypeMethodDescriptionJpaEventStorageEngine.createHeadToken()Deprecated.JpaEventStorageEngine.createTailToken()Deprecated.JpaEventStorageEngine.createTokenAt(Instant dateTime) Deprecated.Methods in org.axonframework.eventsourcing.eventstore.legacyjpa with parameters of type TrackingTokenModifier and TypeMethodDescriptionprotected List<? extends TrackedEventData<?>> JpaEventStorageEngine.fetchTrackedEvents(TrackingToken lastToken, int batchSize) Deprecated.EmbeddedEventStore.openStream(TrackingToken trackingToken) Deprecated. -
Uses of TrackingToken in org.axonframework.messaging
Methods in org.axonframework.messaging that return TrackingTokenModifier and TypeMethodDescriptiondefault TrackingTokenStreamableMessageSource.createHeadToken()Creates the token at the end of an event stream.default TrackingTokenStreamableMessageSource.createTailToken()Creates the token at the beginning of an event stream.default TrackingTokenStreamableMessageSource.createTokenAt(Instant dateTime) Creates a token that tracks all events after givendateTime.default TrackingTokenStreamableMessageSource.createTokenSince(Duration duration) Creates a token that tracks all events since the lastduration.Methods in org.axonframework.messaging with parameters of type TrackingTokenModifier and TypeMethodDescriptionStreamableMessageSource.openStream(TrackingToken trackingToken) Open a stream containing all messages since given tracking token. -
Uses of TrackingToken in org.axonframework.serialization.upcasting.event
Methods in org.axonframework.serialization.upcasting.event that return types with arguments of type TrackingTokenModifier and TypeMethodDescriptionInitialEventRepresentation.getTrackingToken()IntermediateEventRepresentation.getTrackingToken()Returns the tracking token of the event, or an empty Optional if the message wrapping the object being upcast does not contain a tracking token.UpcastedEventRepresentation.getTrackingToken()
ReplayToken.createReplayToken(TrackingToken)method instead.