public interface EventTrackerStatus
Modifier and Type | Method and Description |
---|---|
Segment |
getSegment()
The segment for which this status is valid.
|
TrackingToken |
getTrackingToken()
The tracking token of the last event that has been seen by this Segment
|
boolean |
isCaughtUp()
Whether the Segment of this status has caught up with the head of the event stream.
|
boolean |
isReplaying()
Indicates whether this Segment is still replaying previously processed Events.
|
Segment getSegment()
boolean isCaughtUp()
boolean isReplaying()
Note that this method will only recognize a replay if the tokens have been reset using
TrackingEventProcessor.resetTokens()
. Removing tokens directly from the underlying TokenStore
will not be
recognized as a replay.
true
if this segment is replaying historic events after a reset
, otherwise false
TrackingToken getTrackingToken()
Copyright © 2010–2018. All rights reserved.