Class AsyncPageImpl<T> (2.49.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

Name Description
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
Name Description
asyncPageFetcher NextPageFetcher<T>
cursor String
results Iterable<T>

Methods

getNextPageAsync()

public ApiFuture<AsyncPage<T>> getNextPageAsync()
Returns
Type Description
ApiFuture<AsyncPage<T>>