Class Position
java.lang.Object
io.fluxcapacitor.common.api.tracking.Position
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetIndex(int segment) booleanisNew(int[] segment) booleanisNewIndex(int segment, Long messageIndex) booleanisNewMessage(SerializedMessage message) lowestIndexForSegment(int[] segment) static Position
-
Field Details
-
MAX_SEGMENT
public static int MAX_SEGMENT -
FULL_SEGMENT
public static int[] FULL_SEGMENT
-
-
Constructor Details
-
Position
public Position(long index) -
Position
public Position(int[] segment, long index)
-
-
Method Details
-
newPosition
-
getIndex
-
isNew
public boolean isNew(int[] segment) -
lowestIndexForSegment
-
merge
-
splitInSegments
-
isNewMessage
-
isNewIndex
-