T
- the value type that the page holds@InternalApi public class AsyncPageImpl<T> extends PageImpl<T> implements com.google.api.gax.paging.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<com.google.api.gax.paging.AsyncPage<T>> |
getNextPageAsync() |
equals, getNextPage, getNextPageToken, getValues, hashCode, hasNextPage, iterateAll, nextRequestOptions
public AsyncPageImpl(AsyncPageImpl.NextPageFetcher<T> asyncPageFetcher, String cursor, Iterable<T> results)
AsyncPageImpl
object.Copyright © 2019 Google LLC. All rights reserved.