Package com.google.api.gax.paging
Interface AsyncPage<ResourceT>
-
- All Superinterfaces:
Page<ResourceT>
- All Known Implementing Classes:
AbstractPage
public interface AsyncPage<ResourceT> extends Page<ResourceT>
An AsyncPage extends aPageobject with a getNextPageAsync method.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.api.core.ApiFuture<? extends AsyncPage<ResourceT>>getNextPageAsync()Returns a future for the Page object, retrieved using the next page token.-
Methods inherited from interface com.google.api.gax.paging.Page
getNextPage, getNextPageToken, getValues, hasNextPage, iterateAll
-
-
-
-
Method Detail
-
getNextPageAsync
com.google.api.core.ApiFuture<? extends AsyncPage<ResourceT>> getNextPageAsync()
Returns a future for the Page object, retrieved using the next page token. If there are no more pages, returns a future which will immediately provide null. The hasNextPage() method can be used to check if a Page object is available.
-
-