Package com.google.cloud
Class AsyncPageImpl<T>
java.lang.Object
com.google.cloud.PageImpl<T>
com.google.cloud.AsyncPageImpl<T>
- Type Parameters:
T- the value type that the page holds
- All Implemented Interfaces:
AsyncPage<T>,Page<T>,Serializable
Base implementation for asynchronously consuming Google Cloud paginated results.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceInterface for asynchronously fetching the next page of results from the service. -
Constructor Summary
ConstructorsConstructorDescriptionAsyncPageImpl(AsyncPageImpl.NextPageFetcher<T> asyncPageFetcher, String cursor, Iterable<T> results) Creates anAsyncPageImplobject. -
Method Summary
Methods inherited from class com.google.cloud.PageImpl
equals, getNextPage, getNextPageToken, getValues, hashCode, hasNextPage, iterateAll, nextRequestOptionsMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.api.gax.paging.Page
getNextPage, getNextPageToken, getValues, hasNextPage, iterateAll, streamAll, streamValues
-
Constructor Details
-
AsyncPageImpl
public AsyncPageImpl(AsyncPageImpl.NextPageFetcher<T> asyncPageFetcher, String cursor, Iterable<T> results) Creates anAsyncPageImplobject.
-
-
Method Details
-
getNextPageAsync
- Specified by:
getNextPageAsyncin interfaceAsyncPage<T>
-