Class BatchedFuture<ResponseT> (2.35.0)

  public 
  
 class 
 BatchedFuture<ResponseT> 
  
 extends 
  
 AbstractApiFuture<ResponseT> 
 

An ApiFuture to be used with batching.

This is public only for technical reasons, for advanced usage.

Inheritance

java.lang.Object > AbstractApiFuture > BatchedFuture<ResponseT>

Type Parameter

Name
Description
ResponseT

Static Methods

<T>create()

  public 
  
 static 
  
 BatchedFuture<T> 
  
< T>create 
 () 
 

Get a new instance.

Returns
Type
Description

Constructors

BatchedFuture()

  public 
  
 BatchedFuture 
 () 
 

Methods

set(ResponseT value)

  public 
  
 boolean 
  
 set 
 ( 
 ResponseT 
  
 value 
 ) 
 
Parameter
Name
Description
value
ResponseT
Returns
Type
Description
Overrides

setException(Throwable throwable)

  public 
  
 boolean 
  
 setException 
 ( 
 Throwable 
  
 throwable 
 ) 
 
Parameter
Name
Description
throwable
Returns
Type
Description
Overrides
Design a Mobile Site
View Site in Mobile | Classic
Share by: