Class AsyncPageImpl<T> (2.26.0)

public class AsyncPageImpl<T> extends PageImpl<T> implements AsyncPage<T>

Base implementation for asynchronously consuming Google Cloud paginated results.

Inheritance

java.lang.Object > PageImpl > AsyncPageImpl<T>

Implements

com.google.api.gax.paging.AsyncPage<T>

Type Parameter

NameDescription
T

Constructors

AsyncPageImpl(AsyncPageImpl.NextPageFetcher<T> asyncPageFetcher, String cursor, Iterable<T> results)

public AsyncPageImpl(AsyncPageImpl.NextPageFetcher<T> asyncPageFetcher, String cursor, Iterable<T> results)

Creates an AsyncPageImpl object.

Parameters
NameDescription
asyncPageFetcherNextPageFetcher<T>
cursorString
resultsIterable<T>

Methods

getNextPageAsync()

public ApiFuture<AsyncPage<T>> getNextPageAsync()
Returns
TypeDescription
ApiFuture<AsyncPage<T>>