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 SummaryConstructors
- 
Method SummaryModifier 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- 
IncrementalSyncCursorpublic IncrementalSyncCursor(long subscriptionId, long mostRecentId) 
 
- 
- 
Method Details- 
isReversepublic boolean isReverse()Description copied from interface:CursorIndicates that records should be sorted in backward direction when this cursor is used
- 
isEmptypublic boolean isEmpty()Description copied from interface:CursorIndicates that cursor is empty (first cursor in forward direction)
- 
getCursorType- Specified by:
- getCursorTypein interface- Cursor
- Returns:
- Type of the cursor
 
- 
getSubscriptionIdpublic long getSubscriptionId()
- 
getMostRecentIdpublic long getMostRecentId()
- 
of
- 
toString
- 
equals
- 
hashCodepublic int hashCode()
 
-