Class IncrementalSyncCursor
java.lang.Object
com.atlassian.confluence.internal.api.incrementalsync.model.IncrementalSyncCursor
- All Implemented Interfaces:
Cursor,Serializable
A class which could be used to generate cursor for the next incremental sync pagination request
- Since:
- 9.2.6
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanlonglonginthashCode()booleanisEmpty()Indicates that cursor is empty (first cursor in forward direction)booleanIndicates that records should be sorted in backward direction when this cursor is usedstatic IncrementalSyncCursortoString()
-
Constructor Details
-
IncrementalSyncCursor
public IncrementalSyncCursor(long subscriptionId, long mostRecentId)
-
-
Method Details
-
isReverse
public boolean isReverse()Description copied from interface:CursorIndicates that records should be sorted in backward direction when this cursor is used -
isEmpty
public boolean isEmpty()Description copied from interface:CursorIndicates that cursor is empty (first cursor in forward direction) -
getCursorType
- Specified by:
getCursorTypein interfaceCursor- Returns:
- Type of the cursor
-
getSubscriptionId
public long getSubscriptionId() -
getMostRecentId
public long getMostRecentId() -
of
-
toString
-
equals
-
hashCode
public int hashCode()
-