T - the value type that the page holds@InternalApi public class AsyncPageImpl<T> extends PageImpl<T> implements AsyncPage<T>
| Modifier and Type | Class and Description |
|---|---|
static interface |
AsyncPageImpl.NextPageFetcher<T>
Interface for asynchronously fetching the next page of results from the service.
|
| Constructor and Description |
|---|
AsyncPageImpl(AsyncPageImpl.NextPageFetcher<T> asyncPageFetcher,
String cursor,
Iterable<T> results)
Creates an
AsyncPageImpl object. |
| Modifier and Type | Method and Description |
|---|---|
com.google.api.core.ApiFuture<AsyncPage<T>> |
getNextPageAsync() |
equals, getNextPage, getNextPageToken, getValues, hashCode, hasNextPage, iterateAll, nextRequestOptionsclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetNextPage, getNextPageToken, getValues, hasNextPage, iterateAllpublic AsyncPageImpl(AsyncPageImpl.NextPageFetcher<T> asyncPageFetcher, String cursor, Iterable<T> results)
AsyncPageImpl object.public com.google.api.core.ApiFuture<AsyncPage<T>> getNextPageAsync()
getNextPageAsync in interface AsyncPage<T>Copyright © 2019 Google LLC. All rights reserved.