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 |
---|---|
ApiFuture<AsyncPage<T>> |
getNextPageAsync() |
equals, getNextPage, getNextPageToken, getValues, hashCode, hasNextPage, iterateAll, nextRequestOptions
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getNextPage, getNextPageToken, getValues, hasNextPage, iterateAll
public AsyncPageImpl(AsyncPageImpl.NextPageFetcher<T> asyncPageFetcher, String cursor, Iterable<T> results)
AsyncPageImpl
object.Copyright © 2019 Google LLC. All rights reserved.