@Test void testPosition() { GlobalSequenceTrackingToken token = new GlobalSequenceTrackingToken(1L); assertEquals(1L, token.position().getAsLong()); }
@Override public OptionalLong position() { return OptionalLong.of(globalIndex); }
GlobalSequenceTrackingToken implements TrackingToken, Comparable<GlobalSequenceTrackingToken>,
                                                    Serializable { @Override public OptionalLong position() { return OptionalLong.of(globalIndex); } }
GlobalSequenceTrackingToken implements TrackingToken, Comparable<GlobalSequenceTrackingToken>,
                                                    Serializable { @Override public OptionalLong position() { return OptionalLong.of(globalIndex); } @JsonCreator @ConstructorProperties({"globalIndex"})  GlobalSequenceTrackingToken(@JsonProperty("globalIndex") long globalIndex); }
GlobalSequenceTrackingToken implements TrackingToken, Comparable<GlobalSequenceTrackingToken>,
                                                    Serializable { @Override public OptionalLong position() { return OptionalLong.of(globalIndex); } @JsonCreator @ConstructorProperties({"globalIndex"})  GlobalSequenceTrackingToken(@JsonProperty("globalIndex") long globalIndex); long getGlobalIndex(); GlobalSequenceTrackingToken offsetBy(int offset); GlobalSequenceTrackingToken next(); @Override TrackingToken lowerBound(TrackingToken other); @Override TrackingToken upperBound(TrackingToken other); @Override boolean covers(TrackingToken other); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); @Override int compareTo(GlobalSequenceTrackingToken o); @Override OptionalLong position(); }
GlobalSequenceTrackingToken implements TrackingToken, Comparable<GlobalSequenceTrackingToken>,
                                                    Serializable { @Override public OptionalLong position() { return OptionalLong.of(globalIndex); } @JsonCreator @ConstructorProperties({"globalIndex"})  GlobalSequenceTrackingToken(@JsonProperty("globalIndex") long globalIndex); long getGlobalIndex(); GlobalSequenceTrackingToken offsetBy(int offset); GlobalSequenceTrackingToken next(); @Override TrackingToken lowerBound(TrackingToken other); @Override TrackingToken upperBound(TrackingToken other); @Override boolean covers(TrackingToken other); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); @Override int compareTo(GlobalSequenceTrackingToken o); @Override OptionalLong position();  }