Package com.palantir.util.paging
Interface TokenBackedBasicResultsPage<T,TOKEN>
-
- Type Parameters:
T
- the types of results on the page.TOKEN
- the token for the page.
- All Superinterfaces:
BasicResultsPage<T>
,Serializable
- All Known Implementing Classes:
SimpleTokenBackedResultsPage
public interface TokenBackedBasicResultsPage<T,TOKEN> extends BasicResultsPage<T>, Serializable
Represents a results page that is backed by TOKEN.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TOKEN
getTokenForNextPage()
Gets the token for the next page.-
Methods inherited from interface com.palantir.util.paging.BasicResultsPage
getResults, moreResultsAvailable
-
-
-
-
Method Detail
-
getTokenForNextPage
TOKEN getTokenForNextPage()
Gets the token for the next page. This method may return null if you are paging from the beginning of time and there are no changes.- Returns:
- a TOKEN
-
-