Compartir a través de


PageRetrieverSync<C,P> Interface

Type Parameters

C

Type of the continuation token.

P

the page elements type

public interface PageRetrieverSync<C,P>

This class handles retrieving page synchronously.

Method Summary

Modifier and Type Method and Description
abstract P getPage(C continuationToken, Integer pageSize)

Retrieves one starting from the page identified by the given continuation token.

Method Details

getPage

public abstract P getPage(C continuationToken, Integer pageSize)

Retrieves one starting from the page identified by the given continuation token.

Parameters:

continuationToken - Token identifying which page to retrieve, passing null indicates to retrieve the first page.
pageSize - The number of items to retrieve per page, passing null will use the source's default page size.

Returns:

A page of elements type

.

Applies to