Package org.axonframework.eventhandling
Class RemovedTrackerStatus
java.lang.Object
org.axonframework.eventhandling.WrappedTrackerStatus
org.axonframework.eventhandling.RemovedTrackerStatus
- All Implemented Interfaces:
EventTrackerStatus
References an
EventTrackerStatus which no active work is occurring on. Can be used as a marker to react on in
the EventTrackerStatusChangeListener.- Since:
- 4.4
- Author:
- Steven van Beelen
-
Constructor Summary
ConstructorsConstructorDescriptionRemovedTrackerStatus(EventTrackerStatus removedTrackerStatus) Initializes theRemovedTrackerStatususing the givenremovedTrackerStatus. -
Method Summary
Modifier and TypeMethodDescriptiontoString()booleanReturns abooleandescribing whether thisEventTrackerStatushas just stopped it's progress.Methods inherited from class org.axonframework.eventhandling.WrappedTrackerStatus
equals, getCurrentPosition, getError, getResetPosition, getSegment, getTrackingToken, hashCode, isCaughtUp, isErrorState, isMerging, isReplaying, mergeCompletedPosition, trackerAddedMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.axonframework.eventhandling.EventTrackerStatus
isDifferent, isDifferent, matchPositions, matchStates
-
Constructor Details
-
RemovedTrackerStatus
Initializes theRemovedTrackerStatususing the givenremovedTrackerStatus.- Parameters:
removedTrackerStatus- the removedEventTrackerStatusthis implementation references
-
-
Method Details
-
trackerRemoved
public boolean trackerRemoved()Description copied from interface:EventTrackerStatusReturns abooleandescribing whether thisEventTrackerStatushas just stopped it's progress. Particularly useful if theEventTrackerStatusChangeListenershould react to removed status'.- Specified by:
trackerRemovedin interfaceEventTrackerStatus- Overrides:
trackerRemovedin classWrappedTrackerStatus- Returns:
trueif thisEventTrackerStatuswas just removed,falseotherwise
-
toString
-