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.3
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
long
long
int
hashCode()
boolean
isEmpty()
Indicates that cursor is empty (first cursor in forward direction)boolean
Indicates that records should be sorted in backward direction when this cursor is usedstatic IncrementalSyncCursor
toString()
-
Constructor Details
-
IncrementalSyncCursor
public IncrementalSyncCursor(long subscriptionId, long mostRecentId)
-
-
Method Details
-
isReverse
public boolean isReverse()Description copied from interface:Cursor
Indicates that records should be sorted in backward direction when this cursor is used -
isEmpty
public boolean isEmpty()Description copied from interface:Cursor
Indicates that cursor is empty (first cursor in forward direction) -
getCursorType
- Specified by:
getCursorType
in interfaceCursor
- Returns:
- Type of the cursor
-
getSubscriptionId
public long getSubscriptionId() -
getMostRecentId
public long getMostRecentId() -
of
-
toString
-
equals
-
hashCode
public int hashCode()
-