Class AsyncPageImpl<T> (2.7.1)

  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 >>
Design a Mobile Site
View Site in Mobile | Classic
Share by: